mirror of
https://github.com/halo-dev/plugin-starter.git
synced 2025-10-18 09:04:07 +00:00
fix: frontend build
This commit is contained in:
@@ -24,10 +24,11 @@ export default defineConfig({
|
||||
fileName: () => "main.js",
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ["vue", "@halo-dev/shared", "@halo-dev/components"],
|
||||
external: ["vue", "@halo-dev/shared", "@halo-dev/components","vue-router"],
|
||||
output: {
|
||||
globals: {
|
||||
vue: "Vue",
|
||||
"vue-router": "VueRouter",
|
||||
"@halo-dev/components": "HaloComponents",
|
||||
"@halo-dev/admin-shared": "HaloAdminShared",
|
||||
},
|
||||
|
Reference in New Issue
Block a user