Without this configuration, the following error occurs: ``` error TS-996002: Appears in the NgModule.imports of ...Module, but could not be resolved to an NgModule class ``` Configuruation taken from https://github.com/froala/angular-froala-wysiwyg/pull/329/files#diff-bb630a56aac9aa4924037d7db039769d
34 lines
783 B
JSON
34 lines
783 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"outDir": "../dist",
|
|
"target": "es5",
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"sourceMap": false,
|
|
"noEmitHelpers": false,
|
|
"noImplicitAny": true,
|
|
"declaration": true,
|
|
"skipLibCheck": true,
|
|
"stripInternal": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"lib": ["dom", "es6"]
|
|
},
|
|
"angularCompilerOptions": {
|
|
"annotateForClosureCompiler": true,
|
|
"strictMetadataEmit": true,
|
|
"skipTemplateCodegen": true,
|
|
"flatModuleOutFile": "ng2-file-upload.js",
|
|
"flatModuleId": "ng2-file-upload"
|
|
},
|
|
"include": [
|
|
"../scripts/typings.d.ts"
|
|
],
|
|
"exclude": [
|
|
"**/*.spec.ts"
|
|
]
|
|
}
|