We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b3b27b commit d4cbcd0Copy full SHA for d4cbcd0
vite.config.ts
@@ -6,6 +6,11 @@ export default defineConfig({
6
// depending on your application, base can also be "/"
7
base: '',
8
plugins: [react(), viteTsconfigPaths()],
9
+ root: 'src',
10
+ build: {
11
+ outDir: '../build',
12
+ emptyOutDir: true, // also necessary
13
+ },
14
server: {
15
// this ensures that the browser opens upon server start
16
open: true,
0 commit comments