@angular-devkit/build-angular 17.1.3 → 17.1.4
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": "17.1.
|
|
3
|
+
"version": "17.1.4",
|
|
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.1",
|
|
10
|
-
"@angular-devkit/architect": "0.1701.
|
|
11
|
-
"@angular-devkit/build-webpack": "0.1701.
|
|
12
|
-
"@angular-devkit/core": "17.1.
|
|
10
|
+
"@angular-devkit/architect": "0.1701.4",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.1701.4",
|
|
12
|
+
"@angular-devkit/core": "17.1.4",
|
|
13
13
|
"@babel/core": "7.23.7",
|
|
14
14
|
"@babel/generator": "7.23.6",
|
|
15
15
|
"@babel/helper-annotate-as-pure": "7.22.5",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@babel/preset-env": "7.23.7",
|
|
21
21
|
"@babel/runtime": "7.23.7",
|
|
22
22
|
"@discoveryjs/json-ext": "0.5.7",
|
|
23
|
-
"@ngtools/webpack": "17.1.
|
|
23
|
+
"@ngtools/webpack": "17.1.4",
|
|
24
24
|
"@vitejs/plugin-basic-ssl": "1.0.2",
|
|
25
25
|
"ansi-colors": "4.1.3",
|
|
26
26
|
"autoprefixer": "10.4.16",
|
|
@@ -163,8 +163,9 @@ async function* serveWithVite(serverOptions, builderName, context, transformers,
|
|
|
163
163
|
externalMetadata.implicitServer.length = 0;
|
|
164
164
|
externalMetadata.implicitBrowser.length = 0;
|
|
165
165
|
externalMetadata.explicit.push(...explicit);
|
|
166
|
-
|
|
167
|
-
externalMetadata.
|
|
166
|
+
// Remove any absolute URLs (http://, https://, //) to avoid Vite's prebundling from processing them as files
|
|
167
|
+
externalMetadata.implicitServer.push(...implicitServer.filter((value) => !/^(?:https?:)?\/\//.test(value)));
|
|
168
|
+
externalMetadata.implicitBrowser.push(...implicitBrowser.filter((value) => !/^(?:https?:)?\/\//.test(value)));
|
|
168
169
|
// The below needs to be sorted as Vite uses these options are part of the hashing invalidation algorithm.
|
|
169
170
|
// See: https://github.com/vitejs/vite/blob/0873bae0cfe0f0718ad2f5743dd34a17e4ab563d/packages/vite/src/node/optimizer/index.ts#L1203-L1239
|
|
170
171
|
externalMetadata.explicit.sort();
|