1 Star 1 Fork 0

朱强/vue3自定义框架

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
motion 提交于 2023-10-09 10:53 +08:00 . fix: tsconfig
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": ["dom", "esnext"],
"outDir": "dist",
"strict": true,
"checkJs": true,
"declaration": true,
"importHelpers": true,
// 值为truefalse,指定是否为声明文件.d.ts生成map文件
"declarationMap": true,
// 通过为导入内容创建命名空间,实现CommonJS和ES模块之间的互操作性
"esModuleInterop": true,
// 用来指定编译时是否生成.map文件
"sourceMap": true,
// / 编译的时候删除注释
"removeComments": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
// 指定需要编译文件 否则默认当前目录下除了exclude之外的所有.ts, .d.ts,.tsx 文件
"include": [
"**/*.d.ts",
"mock/**/*",
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"types/**/*.d.ts",
"types/**/*.ts",
"vite.config.ts"
],
// 不编译某些文件
"exclude": ["node_modules", "dist", "**/*.js", "**/*.md", "src/**/*.md"]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/rice-and-motion/vue3-custom-framework.git
git@gitee.com:rice-and-motion/vue3-custom-framework.git
rice-and-motion
vue3-custom-framework
vue3自定义框架
master

搜索帮助