mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-11 23:45:11 +08:00
- 添加 resolveJsonModule 选项以支持导入 JSON 文件 - 启用 esModuleInterop 以改善 CommonJS 和 ES 模块之间的兼容性 - 设置 allowSyntheticDefaultImports 允许合成默认导入
13 lines
283 B
JSON
13 lines
283 B
JSON
{
|
|
"files": [],
|
|
"references": [{ "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }],
|
|
"compilerOptions": {
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true
|
|
}
|
|
}
|