forked from ddrilling/asb_cloud_front
Дополнены кофигурации webpack
This commit is contained in:
parent
de7e8fd259
commit
16fb37910f
@ -18,6 +18,13 @@ module.exports = {
|
||||
context: ['/api', '/auth', '/hubs'],
|
||||
target: proxy,
|
||||
},
|
||||
client: {
|
||||
overlay: {
|
||||
errors: true,
|
||||
warnings: false,
|
||||
},
|
||||
progress: true,
|
||||
},
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
|
@ -6,7 +6,7 @@ module.exports = {
|
||||
mode: 'production',
|
||||
performance: {
|
||||
assetFilter: (assetFilename) => !/\.map$/.test(assetFilename),
|
||||
hints: 'error',
|
||||
hints: 'warning',
|
||||
maxAssetSize: 300 * 1024, // 300KB
|
||||
},
|
||||
cache: false,
|
||||
|
Loading…
Reference in New Issue
Block a user