Improve webpack memory footprint (#56885)
* chore(NA): introduce futureEmitAssets option. chore(NA): bump related webpack dependencies. * chore(NA): remove minimizer compress on dll compiler. * chore(NA): re enable dead code removal. * chore(NA): remove not needed file * docs(NA): add todo on dll compiler to remove this on webpack 5
This commit is contained in:
parent
93e627fe47
commit
6a6931a686
|
@ -256,6 +256,7 @@ export default class BaseOptimizer {
|
|||
profile: this.profile || false,
|
||||
|
||||
output: {
|
||||
futureEmitAssets: true, // TODO: remove on webpack 5
|
||||
path: this.uiBundles.getWorkingDir(),
|
||||
filename: '[name].bundle.js',
|
||||
sourceMapFilename: '[file].map',
|
||||
|
|
|
@ -48,6 +48,7 @@ function generateDLL(config) {
|
|||
entry: dllEntry,
|
||||
context: dllContext,
|
||||
output: {
|
||||
futureEmitAssets: true, // TODO: remove on webpack 5
|
||||
filename: dllBundleFilename,
|
||||
path: dllOutputPath,
|
||||
publicPath: dllPublicPath,
|
||||
|
|
17
yarn.lock
17
yarn.lock
|
@ -16342,12 +16342,12 @@ icss-replace-symbols@^1.1.0:
|
|||
resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded"
|
||||
integrity sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=
|
||||
|
||||
icss-utils@^4.0.0, icss-utils@^4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467"
|
||||
integrity sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==
|
||||
icss-utils@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.0.0.tgz#d52cf4bcdcfa1c45c2dbefb4ffdf6b00ef608098"
|
||||
integrity sha512-bA/xGiwWM17qjllIs9X/y0EjsB7e0AV08F3OL8UPsoNkNRibIuu8f1eKTnQ8QO1DteKKTxTUAn+IEWUToIwGOA==
|
||||
dependencies:
|
||||
postcss "^7.0.14"
|
||||
postcss "^7.0.5"
|
||||
|
||||
icss-utils@^4.1.0:
|
||||
version "4.1.0"
|
||||
|
@ -16356,6 +16356,13 @@ icss-utils@^4.1.0:
|
|||
dependencies:
|
||||
postcss "^7.0.14"
|
||||
|
||||
icss-utils@^4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467"
|
||||
integrity sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==
|
||||
dependencies:
|
||||
postcss "^7.0.14"
|
||||
|
||||
idx@^2.5.6:
|
||||
version "2.5.6"
|
||||
resolved "https://registry.yarnpkg.com/idx/-/idx-2.5.6.tgz#1f824595070100ae9ad585c86db08dc74f83a59d"
|
||||
|
|
Loading…
Reference in a new issue