- 在 vite.config.ts 中添加 build.outDir 配置项 - 构建产物将输出到 smqjhh5 目录 - 优化依赖配置保持不变 - 删除 manifest.json 文件末尾多余空行
@@ -18,6 +18,9 @@ export default async () => {
optimizeDeps: {
exclude: process.env.NODE_ENV === 'development' ? ['wot-design-uni', 'uni-echarts'] : [],
},
+ build: {
+ outDir: 'smqjhh5',
+ },
plugins: [
// https://github.com/uni-helper/vite-plugin-uni-manifest
UniHelperManifest(),