chore: 移除 rollupOptions 配置
This commit is contained in:
parent
6f5b1a1c6a
commit
62d2e35eda
@ -56,15 +56,8 @@ export default (): UserConfigExport => {
|
|||||||
comments: false
|
comments: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
assetsDir: "static/assets",
|
/** 打包后静态资源目录 */
|
||||||
/** 静态资源打包到 dist 下的不同目录 */
|
assetsDir: "static"
|
||||||
rollupOptions: {
|
|
||||||
output: {
|
|
||||||
chunkFileNames: "static/js/[name]-[hash].js",
|
|
||||||
entryFileNames: "static/js/[name]-[hash].js",
|
|
||||||
assetFileNames: "static/[ext]/[name]-[hash].[ext]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
/** vite 插件 */
|
/** vite 插件 */
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user