diff --git a/.env.development b/.env.development
index 103b1ea5..fd3af7a7 100644
--- a/.env.development
+++ b/.env.development
@@ -1,2 +1,2 @@
VITE_API_URL=http://localhost:8090
-VITE_BASE_URL=/
+VITE_BASE_URL=/console/
diff --git a/src/build/library-external.ts b/src/build/library-external.ts
index 02dde28b..69076ead 100644
--- a/src/build/library-external.ts
+++ b/src/build/library-external.ts
@@ -69,6 +69,16 @@ export const setupLibraryExternal = (
},
];
+ const injectScript = staticTargets
+ .map((target) => {
+ return ``;
+ })
+ .join("\n");
+
+ console.log(injectScript);
+
return [
ViteExternals({
vue: "Vue",
@@ -86,11 +96,7 @@ export const setupLibraryExternal = (
minify: false,
inject: {
data: {
- injectScript: staticTargets
- .map((target) => {
- return ``;
- })
- .join("\n"),
+ injectScript,
},
},
}),