update config path

This commit is contained in:
Jordan Blasenhauer 2024-07-22 10:57:57 +02:00
parent d5e165998e
commit 03fbec034e
3 changed files with 6 additions and 6 deletions

View file

@ -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();
@ -194,7 +194,7 @@ async function build() {
await delPrevDirs();
await buildVite();
await updateClientDir();
await setBuildTempToUI();
// await setBuildTempToUI();
// await moveBuildStaticToUI();
// await buildSetup();
}

View file

@ -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"),

View file

@ -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"),