Skip to content

Commit

Permalink
update config path
Browse files Browse the repository at this point in the history
  • Loading branch information
syrk4web committed Jul 22, 2024
1 parent d5e1659 commit 03fbec0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/ui/client/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function updateClientDir() {
const staticTemp = resolve(`./${clientBuildDir}/templates`);

try {
await createDirIfNotExists(`./templates`);
await createDirIfNotExists(staticTemp);
await copyDir(srcDir, staticTemp);
await delElRecursive(dirToRem);
await changeOutputTemplates();
Expand Down Expand Up @@ -194,7 +194,7 @@ async function build() {
await delPrevDirs();
await buildVite();
await updateClientDir();
await setBuildTempToUI();
// await setBuildTempToUI();
// await moveBuildStaticToUI();
// await buildSetup();
}
Expand Down
4 changes: 2 additions & 2 deletions src/ui/client/vite.config.dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export default defineConfig({
},
build: {
chunkSizeWarningLimit: 1024,
outDir: "../dashboard",
emptyOutDir: "../dashboard",
outDir: "./opt-dashboard",
emptyOutDir: "./opt-dashboard",
rollupOptions: {
input: {
home: resolve(__dirname, "./dashboard/pages/home/index.html"),
Expand Down
4 changes: 2 additions & 2 deletions src/ui/client/vite.config.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default defineConfig({
},
},
build: {
outDir: "./setup",
emptyOutDir: "./setup",
outDir: "./opt-setup",
emptyOutDir: "./opt-setup",
rollupOptions: {
input: {
setup: resolve(__dirname, "./setup/index.html"),
Expand Down

0 comments on commit 03fbec0

Please sign in to comment.