schlechtenburg/packages/docs/vite.config.js
2021-03-22 20:58:25 +01:00

20 lines
280 B
JavaScript

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