chore: code cleanup

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang
2022-07-15 16:57:13 +08:00
parent 5f7b05e58a
commit a058a08907
15 changed files with 178 additions and 144 deletions

View File

@@ -24,7 +24,12 @@ export default defineConfig({
fileName: () => "main.js",
},
rollupOptions: {
external: ["vue", "@halo-dev/shared", "@halo-dev/components","vue-router"],
external: [
"vue",
"@halo-dev/shared",
"@halo-dev/components",
"vue-router",
],
output: {
globals: {
vue: "Vue",