schlechtenburg/packages/docs/vite.config.js

20 lines
280 B
JavaScript
Raw 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-03-11 21:46:37 +00:00
resolve: {
dedupe: [ 'vue' ],
},
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
};