|
@ -202,14 +202,7 @@ module.exports = { |
|
|
]), |
|
|
]), |
|
|
], |
|
|
], |
|
|
performance: { |
|
|
performance: { |
|
|
hints: isProduction ? 'warning' : false, |
|
|
|
|
|
maxEntrypointSize: 512000, |
|
|
|
|
|
maxAssetSize: 512000, |
|
|
|
|
|
assetFilter: (filename) => { |
|
|
|
|
|
if (filename.endsWith('.map')) return false; |
|
|
|
|
|
if (['js/swagger.js', 'js/highlight.js', 'fomantic/semantic.min.css'].includes(filename)) return false; |
|
|
|
|
|
return true; |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
hints: false, |
|
|
}, |
|
|
}, |
|
|
resolve: { |
|
|
resolve: { |
|
|
symlinks: false, |
|
|
symlinks: false, |
|
|