mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Internal refactor completed in order to improve tree shaking and dead code removal. The public API, with an exception to ion-slides, has stayed the same. However, internally many changes were required so bundlers could better exclude modules which should not be bundled. Ultimately most changes resorted to removing references to `window` or `document`, or a module that referenced one of those. BREAKING CHANGES ion-slides was refactored to remove the external dependencies, and rewritten in TypeScript/ES6 modules to again improve tree shaking abilities.
29 lines
650 B
JSON
29 lines
650 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowUnreachableCode": false,
|
|
"declaration": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"lib": ["dom", "es2015"],
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"noImplicitAny": false,
|
|
"removeComments": false,
|
|
"sourceMap": true,
|
|
"target": "es5",
|
|
"types": ["jasmine"]
|
|
},
|
|
"include": [
|
|
"./src/**/*.ts",
|
|
"./demos/src/**/*.ts"
|
|
],
|
|
"compileOnSave": false,
|
|
"buildOnSave": false,
|
|
"atom": {
|
|
"rewriteTsconfig": false
|
|
},
|
|
"angularCompilerOptions": {
|
|
"annotationsAs": "static fields",
|
|
"annotateForClosureCompiler": true
|
|
}
|
|
} |