mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
render: poly drawing
This commit is contained in:
parent
6ed0361acf
commit
fb087c67ac
7 changed files with 76 additions and 13 deletions
|
@ -114,11 +114,26 @@ module.exports = () => {
|
|||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
// vendor chunk (uncomment if you want all node_modules to be in vendor.js bundle
|
||||
leaflet: {
|
||||
name: 'leaflet',
|
||||
chunks: 'all',
|
||||
test: /node_modules\/leaflet/,
|
||||
priority: 21,
|
||||
},
|
||||
vendor: {
|
||||
name: 'vendor',
|
||||
chunks: 'all',
|
||||
test: /node_modules/,
|
||||
priority: 20,
|
||||
reuseExistingChunk: true,
|
||||
},
|
||||
commons: {
|
||||
name: 'commons',
|
||||
chunks: 'initial',
|
||||
minChunks: 2,
|
||||
minSize: 0
|
||||
minSize: 0,
|
||||
reuseExistingChunk: true,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue