schlechtenburg/vite.config.js
2021-03-08 17:45:21 +01:00

17 lines
239 B
JavaScript

import vueJsx from '@vitejs/plugin-vue-jsx';
export default {
base: './',
plugins: [
vueJsx({}),
],
esbuild: {
jsxFactory: 'h',
jsxFragment: 'Fragment',
},
build: {
sourcemap: true,
outDir: 'docs',
},
};