diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..0d612a8 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,14 @@ +{ + // 支持 @ 的别名解析 + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@/*": ["src/*"] + }, + "target": "ES6", + "module": "commonjs", + "allowSyntheticDefaultImports": true + }, + "include": ["src/**/*"], + "exclude": ["node_modules"] +}