mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
更新组件声明,移除 LocaleSwitcher 和 ThemeSwitcher,更新 README 文档以增强模块联邦功能的描述,并调整 Vite 配置以支持 ESNext 目标。
This commit is contained in:
+3
-3
@@ -34,9 +34,8 @@ export default defineConfig({
|
||||
}),
|
||||
federation({
|
||||
name: 'host',
|
||||
remotes: {
|
||||
// 这里我们会动态添加远程组件,所以不预设remotes
|
||||
},
|
||||
remotes: {},
|
||||
exposes: {},
|
||||
shared: ['vue', 'vuetify'],
|
||||
}),
|
||||
VitePWA({
|
||||
@@ -162,6 +161,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
build: {
|
||||
target: 'esnext',
|
||||
minify: 'terser',
|
||||
terserOptions: {
|
||||
compress: {
|
||||
|
||||
Reference in New Issue
Block a user