Skip to content

Instantly share code, notes, and snippets.

@nielsvanvelzen
Last active March 16, 2021 09:26
Show Gist options
  • Save nielsvanvelzen/9b55998a39f11f5c80bc67b3fd45b3ce to your computer and use it in GitHub Desktop.
Save nielsvanvelzen/9b55998a39f11f5c80bc67b3fd45b3ce to your computer and use it in GitHub Desktop.
Vite default config
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