Skip to content

Commit 4d2a00c

Browse files
committed
feat(@angular-devkit/build-angular): update webpack to 4.29
This version (https://github.com/webpack/webpack/releases/tag/v4.29.0) includes a memory leak fix for assets (webpack/webpack#8609, webpack/webpack#8642). Thanks to @Meligy for pinging about this!
1 parent b956db6 commit 4d2a00c

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"stylus-loader": "3.0.2",
4646
"tree-kill": "1.2.1",
4747
"terser-webpack-plugin": "1.2.1",
48-
"webpack": "4.28.4",
48+
"webpack": "4.29.0",
4949
"webpack-dev-middleware": "3.5.1",
5050
"webpack-dev-server": "3.1.14",
5151
"webpack-merge": "4.2.1",

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
292292
context: projectRoot,
293293
entry: entryPoints,
294294
output: {
295+
futureEmitAssets: true,
295296
path: path.resolve(root, buildOptions.outputPath as string),
296297
publicPath: buildOptions.deployUrl,
297298
filename: `[name]${hashFormat.chunk}.js`,

yarn.lock

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,11 +790,21 @@ acorn-dynamic-import@^3.0.0:
790790
dependencies:
791791
acorn "^5.0.0"
792792

793+
acorn-dynamic-import@^4.0.0:
794+
version "4.0.0"
795+
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz#482210140582a36b83c3e342e1cfebcaa9240948"
796+
integrity sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==
797+
793798
acorn@^5.0.0, acorn@^5.6.2:
794799
version "5.7.3"
795800
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
796801
integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==
797802

803+
acorn@^6.0.5:
804+
version "6.0.5"
805+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.0.5.tgz#81730c0815f3f3b34d8efa95cb7430965f4d887a"
806+
integrity sha512-i33Zgp3XWtmZBMNvCr4azvOFeWVw1Rk6p3hfi3LUDvIFraOMywb1kAtrbi+med14m4Xfpqm3zRZMT+c0FNE7kg==
807+
798808
addressparser@1.0.1:
799809
version "1.0.1"
800810
resolved "https://registry.yarnpkg.com/addressparser/-/addressparser-1.0.1.tgz#47afbe1a2a9262191db6838e4fd1d39b40821746"
@@ -5600,7 +5610,6 @@ karma-sourcemap-loader@0.3.7:
56005610

56015611
karma@alexeagle/karma#fa1a84ac881485b5657cb669e9b4e5da77b79f0a:
56025612
version "1.7.1"
5603-
uid fa1a84ac881485b5657cb669e9b4e5da77b79f0a
56045613
resolved "https://codeload.github.com/alexeagle/karma/tar.gz/fa1a84ac881485b5657cb669e9b4e5da77b79f0a"
56055614
dependencies:
56065615
bluebird "^3.3.0"
@@ -10558,6 +10567,36 @@ webpack@4.28.4:
1055810567
watchpack "^1.5.0"
1055910568
webpack-sources "^1.3.0"
1056010569

10570+
webpack@4.29.0:
10571+
version "4.29.0"
10572+
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.29.0.tgz#f2cfef83f7ae404ba889ff5d43efd285ca26e750"
10573+
integrity sha512-pxdGG0keDBtamE1mNvT5zyBdx+7wkh6mh7uzMOo/uRQ/fhsdj5FXkh/j5mapzs060forql1oXqXN9HJGju+y7w==
10574+
dependencies:
10575+
"@webassemblyjs/ast" "1.7.11"
10576+
"@webassemblyjs/helper-module-context" "1.7.11"
10577+
"@webassemblyjs/wasm-edit" "1.7.11"
10578+
"@webassemblyjs/wasm-parser" "1.7.11"
10579+
acorn "^6.0.5"
10580+
acorn-dynamic-import "^4.0.0"
10581+
ajv "^6.1.0"
10582+
ajv-keywords "^3.1.0"
10583+
chrome-trace-event "^1.0.0"
10584+
enhanced-resolve "^4.1.0"
10585+
eslint-scope "^4.0.0"
10586+
json-parse-better-errors "^1.0.2"
10587+
loader-runner "^2.3.0"
10588+
loader-utils "^1.1.0"
10589+
memory-fs "~0.4.1"
10590+
micromatch "^3.1.8"
10591+
mkdirp "~0.5.0"
10592+
neo-async "^2.5.0"
10593+
node-libs-browser "^2.0.0"
10594+
schema-utils "^0.4.4"
10595+
tapable "^1.1.0"
10596+
terser-webpack-plugin "^1.1.0"
10597+
watchpack "^1.5.0"
10598+
webpack-sources "^1.3.0"
10599+
1056110600
websocket-driver@>=0.5.1:
1056210601
version "0.7.0"
1056310602
resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.0.tgz#0caf9d2d755d93aee049d4bdd0d3fe2cca2a24eb"

0 commit comments

Comments
 (0)