Last active
March 16, 2021 09:26
-
-
Save nielsvanvelzen/9b55998a39f11f5c80bc67b3fd45b3ce to your computer and use it in GitHub Desktop.
Vite default config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from 'vite'; | |
import vue from '@vitejs/plugin-vue'; | |
// https://vitejs.dev/config/ | |
export default defineConfig({ | |
root: 'src', | |
base: './', | |
publicDir: 'static', | |
build: { | |
outDir: '../dist', | |
emptyOutDir: true, | |
sourcemap: true, | |
}, | |
plugins: [ | |
vue(), | |
], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment