更新组件声明,移除 LocaleSwitcher 和 ThemeSwitcher,更新 README 文档以增强模块联邦功能的描述,并调整 Vite 配置以支持 ESNext 目标。

This commit is contained in:
jxxghp
2025-05-05 21:41:03 +08:00
parent 047e827884
commit b5761bd18d
11 changed files with 529 additions and 14 deletions
+3 -3
View File
@@ -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: {