39a2c39cef
ngc can now validate metadata before emitting to verify it doesn't contain an error symbol that will result in a runtime error if it is used by the StaticReflector. To enable this add the section, "angularCompilerOptions": { "strictMetadataEmit": true } to the top level of the tsconfig.json file passed to ngc. Enabled metadata validation for packages that are intended to be used statically.
29 lines
746 B
JSON
29 lines
746 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"declaration": true,
|
|
"stripInternal": true,
|
|
"experimentalDecorators": true,
|
|
"module": "es2015",
|
|
"moduleResolution": "node",
|
|
"outDir": "../../../dist/packages-dist/http/esm",
|
|
"paths": {
|
|
"@angular/core": ["../../../dist/packages-dist/core"],
|
|
"@angular/common": ["../../../dist/packages-dist/common"],
|
|
"@angular/platform-browser": ["../../../dist/packages-dist/platform-browser"]
|
|
},
|
|
"rootDir": ".",
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"target": "es2015"
|
|
},
|
|
"files": [
|
|
"index.ts",
|
|
"testing.ts",
|
|
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
|
],
|
|
"angularCompilerOptions": {
|
|
"strictMetadataEmit": true
|
|
}
|
|
}
|