mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
70981c3732
* add ci for frontend * add ci for frontend * fix workflow * fix format errors
27 lines
746 B
JSON
27 lines
746 B
JSON
{
|
|
"compilerOptions": {
|
|
"moduleResolution": "node",
|
|
"module": "es2020",
|
|
"lib": ["es2020", "DOM"],
|
|
"target": "es2020",
|
|
/**
|
|
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
|
|
to enforce using \`import type\` instead of \`import\` for Types.
|
|
*/
|
|
"importsNotUsedAsValues": "error",
|
|
"isolatedModules": true,
|
|
"resolveJsonModule": true,
|
|
"strict": true,
|
|
"sourceMap": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"baseUrl": ".",
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"outDir": "dist"
|
|
},
|
|
"exclude": ["**/dist/**/*", "**/public/**/*", "**/*.config.js", "dist"],
|
|
"include": ["**/*.d.ts", "**/*.js", "**/*.ts", "**/*.svelte"]
|
|
}
|