Skip to content

Commit d4cbcd0

Browse files
committed
rename build directory
1 parent 3b3b27b commit d4cbcd0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vite.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default defineConfig({
66
// depending on your application, base can also be "/"
77
base: '',
88
plugins: [react(), viteTsconfigPaths()],
9+
root: 'src',
10+
build: {
11+
outDir: '../build',
12+
emptyOutDir: true, // also necessary
13+
},
914
server: {
1015
// this ensures that the browser opens upon server start
1116
open: true,

0 commit comments

Comments
 (0)