mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
优化 Vite 配置,更新共享库列表,移除不必要的 Rollup 选项,并简化远程模块加载逻辑,提升代码可读性和维护性。
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ export default defineConfig({
|
||||
remotes: {
|
||||
// 动态remotes将在运行时注入
|
||||
},
|
||||
shared: ['vue', 'vuetify', 'pinia', 'vue-i18n', 'vue-router', 'axios'],
|
||||
shared: ['vue', 'vuetify', 'vuetify/styles'],
|
||||
}),
|
||||
VitePWA({
|
||||
injectRegister: 'script',
|
||||
|
||||
Reference in New Issue
Block a user