mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
update config path
This commit is contained in:
parent
d5e165998e
commit
03fbec034e
3 changed files with 6 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"),
|
||||
|
|
|
|||
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue