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:
parent
6f5b1a1c6a
commit
62d2e35eda
@ -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: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user