Initialize Compose Launcher source and deployment
This commit is contained in:
commit
12a8c24441
77 files changed
+9594
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { defineConfig, loadEnv } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
|
||||
export default defineConfig(({ mode }) => {
|
||||
const env = loadEnv(mode, process.cwd(), "");
|
||||
const proxy = { "/api": { target: env.LAUNCHER_API_TARGET || "http://127.0.0.1:8080" } };
|
||||
return {
|
||||
base: "./",
|
||||
plugins: [vue()],
|
||||
server: { proxy },
|
||||
preview: { proxy },
|
||||
};
|
||||
});
|
||||
Reference in new issue
Block a user