Commit 641fe441 authored by “yiyousong”'s avatar “yiyousong”

pref:修改打包

parent e8a9a459
......@@ -2,7 +2,7 @@
node_modules
/dist
样表管理系统.zip
/zip
# local env files
.env.local
.env.*.local
......
......@@ -8,9 +8,10 @@ if (!isDev) {
new FileManagerPlugin({
events: {
onEnd: {
mkdir: ["./dist"],
delete: ["./样表管理系统.zip"],
archive: [{ source: "./dist", destination: "./样表管理系统.zip" }],
// mkdir: ["./dist"],
delete: ["./zip/"],
copy: [{ source: "./dist", destination: "./zip/dist" }],
archive: [{ source: "./zip", destination: "./zip/样表管理系统.zip" }],
},
},
})
......@@ -25,6 +26,6 @@ module.exports = defineConfig({
},
transpileDependencies: true,
// 打包输出目录
outputDir: "dist/dist",
outputDir: "dist",
publicPath: "./",
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment