schlechtenburg/vite.config.js

17 lines
239 B
JavaScript
Raw Permalink Normal View History

2021-02-22 12:35:56 +00:00
import vueJsx from '@vitejs/plugin-vue-jsx';
export default {
2021-03-08 15:29:35 +00:00
base: './',
2021-02-22 12:35:56 +00:00
plugins: [
vueJsx({}),
],
esbuild: {
jsxFactory: 'h',
jsxFragment: 'Fragment',
},
2021-03-08 11:18:39 +00:00
build: {
2021-03-08 16:45:21 +00:00
sourcemap: true,
2021-03-08 11:18:39 +00:00
outDir: 'docs',
},
2020-12-30 13:34:23 +00:00
};