@angular-devkit/build-angular 0.1101.0-rc.0 → 0.1101.0
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": "0.1101.0
|
|
3
|
+
"version": "0.1101.0",
|
|
4
4
|
"description": "Angular Webpack Build Facade",
|
|
5
5
|
"experimental": true,
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"typings": "src/index.d.ts",
|
|
8
8
|
"builders": "builders.json",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@angular-devkit/architect": "0.1101.0
|
|
11
|
-
"@angular-devkit/build-optimizer": "0.1101.0
|
|
12
|
-
"@angular-devkit/build-webpack": "0.1101.0
|
|
13
|
-
"@angular-devkit/core": "11.1.0
|
|
10
|
+
"@angular-devkit/architect": "0.1101.0",
|
|
11
|
+
"@angular-devkit/build-optimizer": "0.1101.0",
|
|
12
|
+
"@angular-devkit/build-webpack": "0.1101.0",
|
|
13
|
+
"@angular-devkit/core": "11.1.0",
|
|
14
14
|
"@babel/core": "7.12.10",
|
|
15
15
|
"@babel/generator": "7.12.11",
|
|
16
16
|
"@babel/plugin-transform-runtime": "7.12.10",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@babel/runtime": "7.12.5",
|
|
19
19
|
"@babel/template": "7.12.7",
|
|
20
20
|
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
|
|
21
|
-
"@ngtools/webpack": "11.1.0
|
|
21
|
+
"@ngtools/webpack": "11.1.0",
|
|
22
22
|
"ansi-colors": "4.1.1",
|
|
23
23
|
"autoprefixer": "10.2.1",
|
|
24
24
|
"babel-loader": "8.2.2",
|
package/src/browser/schema.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface Schema {
|
|
|
28
28
|
*/
|
|
29
29
|
buildOptimizer?: boolean;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Generate a seperate bundle containing code used across multiple bundles.
|
|
32
32
|
*/
|
|
33
33
|
commonChunk?: boolean;
|
|
34
34
|
/**
|
|
@@ -188,7 +188,8 @@ export interface Schema {
|
|
|
188
188
|
*/
|
|
189
189
|
tsConfig: string;
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* Generate a seperate bundle containing only vendor libraries. This option should only used
|
|
192
|
+
* for development.
|
|
192
193
|
*/
|
|
193
194
|
vendorChunk?: boolean;
|
|
194
195
|
/**
|
package/src/browser/schema.json
CHANGED
|
@@ -182,12 +182,12 @@
|
|
|
182
182
|
},
|
|
183
183
|
"vendorChunk": {
|
|
184
184
|
"type": "boolean",
|
|
185
|
-
"description": "
|
|
185
|
+
"description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
|
|
186
186
|
"default": true
|
|
187
187
|
},
|
|
188
188
|
"commonChunk": {
|
|
189
189
|
"type": "boolean",
|
|
190
|
-
"description": "
|
|
190
|
+
"description": "Generate a seperate bundle containing code used across multiple bundles.",
|
|
191
191
|
"default": true
|
|
192
192
|
},
|
|
193
193
|
"baseHref": {
|
|
@@ -23,7 +23,7 @@ export interface Schema {
|
|
|
23
23
|
*/
|
|
24
24
|
browserTarget: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Generate a seperate bundle containing code used across multiple bundles.
|
|
27
27
|
* @deprecated Use the "commonChunk" option in the browser builder instead.
|
|
28
28
|
*/
|
|
29
29
|
commonChunk?: boolean;
|
|
@@ -121,7 +121,8 @@ export interface Schema {
|
|
|
121
121
|
*/
|
|
122
122
|
sslKey?: string;
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* Generate a seperate bundle containing only vendor libraries. This option should only used
|
|
125
|
+
* for development.
|
|
125
126
|
* @deprecated Use the "vendorChunk" option in the browser builder instead.
|
|
126
127
|
*/
|
|
127
128
|
vendorChunk?: boolean;
|
|
@@ -173,12 +173,12 @@
|
|
|
173
173
|
},
|
|
174
174
|
"vendorChunk": {
|
|
175
175
|
"type": "boolean",
|
|
176
|
-
"description": "
|
|
176
|
+
"description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
|
|
177
177
|
"x-deprecated": "Use the \"vendorChunk\" option in the browser builder instead."
|
|
178
178
|
},
|
|
179
179
|
"commonChunk": {
|
|
180
180
|
"type": "boolean",
|
|
181
|
-
"description": "
|
|
181
|
+
"description": "Generate a seperate bundle containing code used across multiple bundles.",
|
|
182
182
|
"x-deprecated": "Use the \"commonChunk\" option in the browser builder instead."
|
|
183
183
|
},
|
|
184
184
|
"baseHref": {
|
|
@@ -112,7 +112,7 @@ async function execute(options, context, transforms) {
|
|
|
112
112
|
const browserOptions = await context.validateOptions(await context.getTargetOptions(browserTarget), await context.getBuilderNameForTarget(browserTarget));
|
|
113
113
|
const format = normalizeFormatOption(options);
|
|
114
114
|
// We need to determine the outFile name so that AngularCompiler can retrieve it.
|
|
115
|
-
let outFile = options.outFile || getI18nOutfile(
|
|
115
|
+
let outFile = options.outFile || getI18nOutfile(format);
|
|
116
116
|
if (options.outputPath) {
|
|
117
117
|
// AngularCompilerPlugin doesn't support genDir so we have to adjust outFile instead.
|
|
118
118
|
outFile = path.join(options.outputPath, outFile);
|