Skip to content

Commit

Permalink
set vite build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Nov 16, 2024
1 parent 8639d7c commit 83f0082
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ export default {
// vite app is loaded from /src
root: path.join(__dirname, "src"),

// build to /dist instead of /src/dist
build: {
outDir: '../dist',
emptyOutDir: true,
},

// add plugins
plugins: [
vue(),
Expand Down

0 comments on commit 83f0082

Please sign in to comment.