Commit ed02f100 authored by YIyiyi's avatar YIyiyi

pref:修改打包配置

parent 07bf0076
...@@ -20,14 +20,14 @@ module.exports = defineConfig({ ...@@ -20,14 +20,14 @@ module.exports = defineConfig({
transpileDependencies: true, transpileDependencies: true,
productionSourceMap: false, productionSourceMap: false,
lintOnSave: false, lintOnSave: false,
// 打包输出目录
outputDir: "dist",
publicPath: "./",
// webpack 插件 // webpack 插件
configureWebpack: { configureWebpack: {
plugins: [...plugins], plugins: [...plugins],
}, },
transpileDependencies: true, transpileDependencies: true,
// 打包输出目录
outputDir: "dist/dist",
publicPath: "./",
devServer: { devServer: {
port: 9086, port: 9086,
hot: "only", //自动保存 hot: "only", //自动保存
......
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