✨ Make new frontend available under /modern
👷 Start adding deploy config and CI
This commit is contained in:
1 parent
bc4414473c
commit
dbda43077e
8 files changed
+49
-5
No files matched your search
@@ -4,9 +4,11 @@ import reactSvgPlugin from "vite-plugin-react-svg";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: process.env.NODE_ENV !== "production" ? "/" : "/static/modern/",
|
||||
plugins: [reactSvgPlugin({ defaultExport: "component" })],
|
||||
define: {
|
||||
__DEV__: process.env.NODE_ENV !== "prodution",
|
||||
__DEV__: process.env.NODE_ENV !== "production",
|
||||
},
|
||||
envDir: "..",
|
||||
build: { outDir: "../static/modern" },
|
||||
});
|
||||
Reference in new issue
Block a user