初始化工程

This commit is contained in:
筱野
2025-08-10 21:09:19 +08:00
commit 42c71f5d13
30 changed files with 12882 additions and 0 deletions

23
config/dev.ts Normal file
View File

@@ -0,0 +1,23 @@
import type { UserConfigExport } from "@tarojs/cli";
export default {
logger: {
quiet: false,
stats: true
},
mini: {},
h5: {},
// 添加这个配置来显示完整错误信息
compiler: {
type: 'webpack5',
prebundle: {
enable: false
}
},
cache: {
enable: false // 禁用缓存确保重新编译
},
// 开发环境不压缩代码
terser: {
enable: false
}
} satisfies UserConfigExport<'webpack5'>