Skip to content

Commit

Permalink
Fix old build
Browse files Browse the repository at this point in the history
  • Loading branch information
irdkwmnsb committed Jul 24, 2023
1 parent 63ff64f commit 7c2367b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/frontend/overlay/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
outDir: process.env.OUT_DIR ?? "dist"
}
});
4 changes: 2 additions & 2 deletions src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "3.1.0",
"private": true,
"scripts": {
"buildOverlay": "npm run build -w overlay",
"buildOverlay2": "npm run build -w overlay",
"buildOverlay": "OUT_DIR=build_old npm run build -w overlay",
"buildOverlay2": "OUT_DIR=build npm run build -w overlay",
"buildAdmin": "npm run build -w admin",
"lint": "npm run lint -w overlay && npm run lint -w admin"
},
Expand Down

0 comments on commit 7c2367b

Please sign in to comment.