@tsconfig/taro
v1.0.4
Published
A base TSConfig for working with Taro.
Downloads
23
Readme
A base TSConfig for working with Taro.
Add the package to your "devDependencies"
:
npm install --save-dev @tsconfig/taro
yarn add --dev @tsconfig/taro
Add to your tsconfig.json
:
"extends": "@tsconfig/taro/tsconfig.json"
The tsconfig.json
:
{
"$schema": "https://json.schemastore.org/tsconfig",
"compileOnSave": false,
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"moduleResolution": "node",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"jsx": "react-jsx"
}
}
You can find the code here.