@angular-devkit/build-angular 14.2.2 → 14.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.3",
|
|
4
4
|
"description": "Angular Webpack Build Facade",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
7
7
|
"builders": "builders.json",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@ampproject/remapping": "2.2.0",
|
|
10
|
-
"@angular-devkit/architect": "0.1402.
|
|
11
|
-
"@angular-devkit/build-webpack": "0.1402.
|
|
12
|
-
"@angular-devkit/core": "14.2.
|
|
10
|
+
"@angular-devkit/architect": "0.1402.3",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.1402.3",
|
|
12
|
+
"@angular-devkit/core": "14.2.3",
|
|
13
13
|
"@babel/core": "7.18.10",
|
|
14
14
|
"@babel/generator": "7.18.12",
|
|
15
15
|
"@babel/helper-annotate-as-pure": "7.18.6",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@babel/runtime": "7.18.9",
|
|
21
21
|
"@babel/template": "7.18.10",
|
|
22
22
|
"@discoveryjs/json-ext": "0.5.7",
|
|
23
|
-
"@ngtools/webpack": "14.2.
|
|
23
|
+
"@ngtools/webpack": "14.2.3",
|
|
24
24
|
"ansi-colors": "4.1.3",
|
|
25
25
|
"babel-loader": "8.2.5",
|
|
26
26
|
"babel-plugin-istanbul": "6.1.1",
|
|
@@ -253,8 +253,17 @@ async function getCommonConfig(wco) {
|
|
|
253
253
|
watch: buildOptions.watch,
|
|
254
254
|
watchOptions: {
|
|
255
255
|
poll,
|
|
256
|
+
// The below is needed as when preserveSymlinks is enabled we disable `resolve.symlinks`.
|
|
257
|
+
followSymlinks: buildOptions.preserveSymlinks,
|
|
256
258
|
ignored: poll === undefined ? undefined : '**/node_modules/**',
|
|
257
259
|
},
|
|
260
|
+
snapshot: {
|
|
261
|
+
module: {
|
|
262
|
+
// Use hash of content instead of timestamp because the timestamp of the symlink will be used
|
|
263
|
+
// instead of the referenced files which causes changes in symlinks not to be picked up.
|
|
264
|
+
hash: buildOptions.preserveSymlinks,
|
|
265
|
+
},
|
|
266
|
+
},
|
|
258
267
|
performance: {
|
|
259
268
|
hints: false,
|
|
260
269
|
},
|
|
@@ -331,7 +331,7 @@ function statsErrorsToString(json, statsConfig) {
|
|
|
331
331
|
// See: https://github.com/webpack/webpack/issues/15980
|
|
332
332
|
const message = statsConfig.errorStack
|
|
333
333
|
? error.message
|
|
334
|
-
: (_b = (_a = /[\s\S]+?(
|
|
334
|
+
: (_b = (_a = /[\s\S]+?(?=\n+\s+at\s)/.exec(error.message)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : error.message;
|
|
335
335
|
if (!/^error/i.test(message)) {
|
|
336
336
|
output += r('Error: ');
|
|
337
337
|
}
|