mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-12-19 05:19:42 +08:00
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> Rollup has a plugin to handle TypeScript compilation that we are not using. As a result, we are maintaining unnecessary infrastructure such as compiling to `dist-transpiled`(TS to JS) and then compiling the results to `dist` (JS files to bundled code). ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Vue, Vue Router, React, and React Router now make use of the Rollup Typescript plugin to handle TypeScript compilation for us. This lets us remove the `dist-transpiled` directory altogether and the manual `tsc` invocation. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> Developers should not see any changes in how they consume Ionic. This just hands the TypeScript compilation step off to the Rollup plugin. Dev build: `7.5.3-dev.11698859252.15ac163e`
31 lines
794 B
JSON
31 lines
794 B
JSON
{
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"allowUnreachableCode": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"declaration": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"esModuleInterop": true,
|
|
"lib": ["dom", "es2015"],
|
|
"importHelpers": true,
|
|
"module": "es2015",
|
|
"moduleResolution": "node",
|
|
"noImplicitAny": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"outDir": "dist",
|
|
"declarationDir": "dist/types",
|
|
"removeComments": false,
|
|
"inlineSources": true,
|
|
"sourceMap": true,
|
|
"jsx": "react",
|
|
"target": "es2017"
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
|
"exclude": ["**/__tests__/**"],
|
|
"compileOnSave": false,
|
|
"buildOnSave": false
|
|
}
|