@angular-devkit/build-angular 18.2.20 → 18.2.21
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,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/build-angular",
|
|
3
|
-
"version": "18.2.
|
|
3
|
+
"version": "18.2.21",
|
|
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.3.0",
|
|
10
|
-
"@angular-devkit/architect": "0.1802.
|
|
11
|
-
"@angular-devkit/build-webpack": "0.1802.
|
|
12
|
-
"@angular-devkit/core": "18.2.
|
|
13
|
-
"@angular/build": "18.2.
|
|
10
|
+
"@angular-devkit/architect": "0.1802.21",
|
|
11
|
+
"@angular-devkit/build-webpack": "0.1802.21",
|
|
12
|
+
"@angular-devkit/core": "18.2.21",
|
|
13
|
+
"@angular/build": "18.2.21",
|
|
14
14
|
"@babel/core": "7.26.10",
|
|
15
15
|
"@babel/generator": "7.26.10",
|
|
16
16
|
"@babel/helper-annotate-as-pure": "7.25.9",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@babel/preset-env": "7.26.9",
|
|
22
22
|
"@babel/runtime": "7.26.10",
|
|
23
23
|
"@discoveryjs/json-ext": "0.6.1",
|
|
24
|
-
"@ngtools/webpack": "18.2.
|
|
24
|
+
"@ngtools/webpack": "18.2.21",
|
|
25
25
|
"ansi-colors": "4.1.3",
|
|
26
26
|
"autoprefixer": "10.4.20",
|
|
27
27
|
"babel-loader": "9.1.3",
|
|
@@ -29,6 +29,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
29
29
|
__setModuleDefault(result, mod);
|
|
30
30
|
return result;
|
|
31
31
|
};
|
|
32
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
33
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
|
+
};
|
|
32
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
36
|
exports.execute = execute;
|
|
34
37
|
const private_1 = require("@angular/build/private");
|
|
@@ -37,6 +40,7 @@ const build_webpack_1 = require("@angular-devkit/build-webpack");
|
|
|
37
40
|
const promises_1 = require("node:fs/promises");
|
|
38
41
|
const path = __importStar(require("node:path"));
|
|
39
42
|
const rxjs_1 = require("rxjs");
|
|
43
|
+
const webpack_1 = __importDefault(require("webpack"));
|
|
40
44
|
const configs_1 = require("../../tools/webpack/configs");
|
|
41
45
|
const helpers_1 = require("../../tools/webpack/utils/helpers");
|
|
42
46
|
const stats_1 = require("../../tools/webpack/utils/stats");
|
|
@@ -146,7 +150,18 @@ async function initialize(options, context, webpackConfigurationTransform) {
|
|
|
146
150
|
// We use the platform to determine the JavaScript syntax output.
|
|
147
151
|
wco.buildOptions.supportedBrowsers ??= [];
|
|
148
152
|
wco.buildOptions.supportedBrowsers.push(...browserslist('maintained node versions'));
|
|
149
|
-
return [
|
|
153
|
+
return [
|
|
154
|
+
getPlatformServerExportsConfig(wco),
|
|
155
|
+
(0, configs_1.getCommonConfig)(wco),
|
|
156
|
+
(0, configs_1.getStylesConfig)(wco),
|
|
157
|
+
{
|
|
158
|
+
plugins: [
|
|
159
|
+
new webpack_1.default.DefinePlugin({
|
|
160
|
+
'ngJitMode': false,
|
|
161
|
+
}),
|
|
162
|
+
],
|
|
163
|
+
},
|
|
164
|
+
];
|
|
150
165
|
});
|
|
151
166
|
if (options.deleteOutputPath) {
|
|
152
167
|
await (0, utils_1.deleteOutputDir)(context.workspaceRoot, originalOutputPath);
|
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.normalizeCacheOptions = normalizeCacheOptions;
|
|
11
11
|
const node_path_1 = require("node:path");
|
|
12
12
|
/** Version placeholder is replaced during the build process with actual package version */
|
|
13
|
-
const VERSION = '18.2.
|
|
13
|
+
const VERSION = '18.2.21';
|
|
14
14
|
function hasCacheMetadata(value) {
|
|
15
15
|
return (!!value &&
|
|
16
16
|
typeof value === 'object' &&
|