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