@ngtools/webpack 10.0.4 → 10.0.8

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngtools/webpack",
3
- "version": "10.0.4",
3
+ "version": "10.0.8",
4
4
  "description": "Webpack plugin that AoT compiles your Angular components and modules.",
5
5
  "main": "./src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/core": "10.0.4",
28
+ "@angular-devkit/core": "10.0.8",
29
29
  "enhanced-resolve": "4.1.1",
30
30
  "rxjs": "6.5.5",
31
31
  "webpack-sources": "1.4.3"
@@ -176,6 +176,9 @@ class AngularCompilerPlugin {
176
176
  this._warnings.push(new Error(`Lazy route discovery is disabled but additional Lazy Module Resources were`
177
177
  + ` provided. These will be ignored.`));
178
178
  }
179
+ if (this._compilerOptions.strictMetadataEmit) {
180
+ this._warnings.push(new Error(`Using Angular compiler option 'strictMetadataEmit' for applications might cause undefined behavior.`));
181
+ }
179
182
  if (this._discoverLazyRoutes === false && this.options.additionalLazyModules
180
183
  && Object.keys(this.options.additionalLazyModules).length > 0) {
181
184
  this._warnings.push(new Error(`Lazy route discovery is disabled but additional lazy modules were provided.`