mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
optimize webpack bundles
This commit is contained in:
1 parent
2c0bed9823
commit
8bb6ff7ab3
10 files changed
+91
-18
No files matched your search
@@ -6,11 +6,22 @@ const configs = merge(webpackConfig, {
|
||||
resolve: {
|
||||
extensions: ['.css', '.scss', '.vue']
|
||||
},
|
||||
performance: {
|
||||
maxEntrypointSize: 0
|
||||
},
|
||||
optimization: {
|
||||
runtimeChunk: false,
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
default: false
|
||||
default: false,
|
||||
applicationVendors: {
|
||||
test: /\/node_modules\//,
|
||||
chunks: chunk => chunk.name === 'application'
|
||||
},
|
||||
formVendors: {
|
||||
test: /\/node_modules\//,
|
||||
chunks: chunk => chunk.name === 'form'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user