mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
57ee8220c1
* chore: typescript 允许 import md 和 svg 文件,并解决 button-group-select 文档页打不开的问题 * 修复 gh-pages 编译报错
28 lines
760 B
JSON
28 lines
760 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "output/",
|
|
"module": "commonjs",
|
|
"target": "es5",
|
|
"lib": ["es6", "dom", "ES2015"],
|
|
"sourceMap": true,
|
|
"jsx": "react",
|
|
"moduleResolution": "node",
|
|
"rootDir": "src",
|
|
"importHelpers": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"sourceRoot": "src",
|
|
"noImplicitReturns": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"typeRoots": ["./node_modules/@types", "./types"],
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "acceptance-tests", "webpack", "jest"],
|
|
"types": ["node", "typePatches"]
|
|
}
|