We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
strictMetadataEmit
1 parent 780c82d commit fb94db7Copy full SHA for fb94db7
packages/ngtools/webpack/src/angular_compiler_plugin.ts
@@ -275,6 +275,14 @@ export class AngularCompilerPlugin {
275
);
276
}
277
278
+ if (this._compilerOptions.strictMetadataEmit) {
279
+ this._warnings.push(
280
+ new Error(
281
+ `Using Angular compiler option 'strictMetadataEmit' for applications might cause undefined behavior.`,
282
+ ),
283
+ );
284
+ }
285
+
286
if (this._discoverLazyRoutes === false && this.options.additionalLazyModules
287
&& Object.keys(this.options.additionalLazyModules).length > 0) {
288
this._warnings.push(
0 commit comments