Skip to content

Commit

Permalink
add option in vite config to not remove CNAME file in dist when building
Browse files Browse the repository at this point in the history
  • Loading branch information
VivienLN committed Jun 8, 2022
1 parent 09cbb9d commit 50ff49d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import vue from '@vitejs/plugin-vue'

export default defineConfig(({ command, mode }) => ({
plugins: [vue()],
build: {
emptyOutDir: false,
},
server: {
host: true,
port: 3000,
Expand Down

0 comments on commit 50ff49d

Please sign in to comment.