chore: 统一各 app 的构建目录
This commit is contained in:
@@ -49,12 +49,7 @@ export default defineConfig(({ mode }) => {
|
||||
},
|
||||
build: {
|
||||
outDir: path.resolve(process.cwd(), '../../dist/designer'), // 输出到根目录/designer
|
||||
emptyOutDir: true, // 构建前清空目录
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: path.resolve(__dirname, 'index.html') // 显式指定入口文件路径
|
||||
}
|
||||
}
|
||||
emptyOutDir: true // 构建前清空目录
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user