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'],
|
context: ['/api', '/auth', '/hubs'],
|
||||||
target: proxy,
|
target: proxy,
|
||||||
},
|
},
|
||||||
|
client: {
|
||||||
|
overlay: {
|
||||||
|
errors: true,
|
||||||
|
warnings: false,
|
||||||
|
},
|
||||||
|
progress: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
|
@ -6,7 +6,7 @@ module.exports = {
|
|||||||
mode: 'production',
|
mode: 'production',
|
||||||
performance: {
|
performance: {
|
||||||
assetFilter: (assetFilename) => !/\.map$/.test(assetFilename),
|
assetFilter: (assetFilename) => !/\.map$/.test(assetFilename),
|
||||||
hints: 'error',
|
hints: 'warning',
|
||||||
maxAssetSize: 300 * 1024, // 300KB
|
maxAssetSize: 300 * 1024, // 300KB
|
||||||
},
|
},
|
||||||
cache: false,
|
cache: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user