Commit 9abddeef by zhangxw

打包配置

1 parent 41c2adc9
...@@ -11,7 +11,8 @@ function resolve(dir) { ...@@ -11,7 +11,8 @@ function resolve(dir) {
return path.join(__dirname, ".", dir); return path.join(__dirname, ".", dir);
} }
module.exports = defineConfig({ module.exports = defineConfig({
publicPath: "./", publicPath: "/miniapp",
outputDir: "/miniapp",
transpileDependencies: true, transpileDependencies: true,
devServer: { devServer: {
port: 9527, port: 9527,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!