Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 11:29:20 +08:00

chore: 移除 rollupOptions 配置

This commit is contained in:
pany 2022-05-06 17:48:42 +08:00
parent 6f5b1a1c6a
commit 62d2e35eda

View File

@ -56,15 +56,8 @@ export default (): UserConfigExport => {
comments: false
}
},
assetsDir: "static/assets",
/** 静态资源打包到 dist 下的不同目录 */
rollupOptions: {
output: {
chunkFileNames: "static/js/[name]-[hash].js",
entryFileNames: "static/js/[name]-[hash].js",
assetFileNames: "static/[ext]/[name]-[hash].[ext]"
}
}
/** 打包后静态资源目录 */
assetsDir: "static"
},
/** vite 插件 */
plugins: [