schlechtenburg/packages/docs/lib/vite.config.ts

25 lines
434 B
TypeScript
Raw Normal View History

2022-03-16 22:15:52 +00:00
import { defineConfig } from 'vite';
import vueJsx from '@vitejs/plugin-vue-jsx';
export default defineConfig({
2022-03-17 18:16:01 +00:00
resolve: {
dedupe: [
'vue',
'@schlechtenburg/core',
'@schlechtenburg/layout',
'@schlechtenburg/heading',
'@schlechtenburg/paragraph',
'@schlechtenburg/image',
],
},
2022-03-16 22:15:52 +00:00
plugins: [
vueJsx({}),
],
esbuild: {
jsxFactory: 'h',
jsxFragment: 'Fragment',
},
});