mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
[chore] Minimize bundle for production builds.
Although the files are GZIP'd when served up, this cuts their raw size to under half.
This commit is contained in:
parent
0e2cb9b189
commit
16c8d6f38c
@ -47,7 +47,7 @@ module.exports = (env, argv) => ({
|
|||||||
concatenateModules: false,
|
concatenateModules: false,
|
||||||
namedModules: false,
|
namedModules: false,
|
||||||
namedChunks: false,
|
namedChunks: false,
|
||||||
minimize: false,
|
minimize: argv.mode !== 'development',
|
||||||
portableRecords: true
|
portableRecords: true
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
|
Loading…
Reference in New Issue
Block a user