Provide angularCompilerOptions to ensure compatibility with Ivy (on the application side)

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
This commit is contained in:
Eugene Arshinov
2019-08-27 12:22:59 +03:00
committed by Evgeny Arshinov
parent 7a342268bb
commit 2888f4cb11

View File

@@ -17,6 +17,13 @@
"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"
],