This commit is contained in:
闫世杰 2025-01-15 09:21:47 +08:00
parent cbf8518d27
commit 3691b92de0
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ yarn build
build: { build: {
chunkSizeWarningLimit: 1500, chunkSizeWarningLimit: 1500,
assetsDir: "assets", // 指定生成静态文件目录 assetsDir: "assets", // 指定生成静态文件目录
outDir: "build/build", // 打包为浙政钉的目录 outDir: "build/build", // 为浙政钉打包的目录
}, },
``` ```

View File

@ -41,7 +41,7 @@ export default defineConfig({
build: { build: {
chunkSizeWarningLimit: 1500, chunkSizeWarningLimit: 1500,
assetsDir: "assets", // 指定生成静态文件目录 assetsDir: "assets", // 指定生成静态文件目录
outDir: "build/build", // 指定输出文件目录 outDir: "build/build", // 为浙政钉打包的目录
}, },
base: "./", base: "./",
}); });