Skip to content

Commit 988b05a

Browse files
alan-agius4filipesilva
authored andcommitted
refactor(@angular/cli): remove deprecated lazyModules option from schema
1 parent 3ee12af commit 988b05a

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

packages/angular/cli/lib/config/schema.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,14 +1036,6 @@
10361036
"description": "Run the TypeScript type checker in a forked process.",
10371037
"default": true
10381038
},
1039-
"lazyModules": {
1040-
"description": "List of additional NgModule files that will be lazy loaded. Lazy router modules will be discovered automatically.",
1041-
"type": "array",
1042-
"items": {
1043-
"type": "string"
1044-
},
1045-
"default": []
1046-
},
10471039
"budgets": {
10481040
"description": "Budget thresholds to ensure parts of your application stay within boundaries which you set.",
10491041
"type": "array",
@@ -2008,14 +2000,6 @@
20082000
"type": "boolean",
20092001
"description": "Run the TypeScript type checker in a forked process.",
20102002
"default": true
2011-
},
2012-
"lazyModules": {
2013-
"description": "List of additional NgModule files that will be lazy loaded. Lazy router modules with be discovered automatically.",
2014-
"type": "array",
2015-
"items": {
2016-
"type": "string"
2017-
},
2018-
"default": []
20192003
}
20202004
},
20212005
"additionalProperties": false,

packages/angular_devkit/build_angular/src/webpack/configs/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
503503
plugins: [
504504
// Always replace the context for the System.import in angular/core to prevent warnings.
505505
// https://github.com/angular/angular/issues/11580
506-
new ContextReplacementPlugin(/\@angular(\\|\/)core(\\|\/)/, projectRoot, {}),
506+
new ContextReplacementPlugin(/\@angular(\\|\/)core(\\|\/)/, path.normalize(projectRoot), {}),
507507
new DedupeModuleResolvePlugin({ verbose: buildOptions.verbose }),
508508
...extraPlugins,
509509
],

0 commit comments

Comments
 (0)