schlechtenburg/packages/docs/lib/vite.config.ts
2022-03-17 19:16:01 +01:00

25 lines
434 B
TypeScript

import { defineConfig } from 'vite';
import vueJsx from '@vitejs/plugin-vue-jsx';
export default defineConfig({
resolve: {
dedupe: [
'vue',
'@schlechtenburg/core',
'@schlechtenburg/layout',
'@schlechtenburg/heading',
'@schlechtenburg/paragraph',
'@schlechtenburg/image',
],
},
plugins: [
vueJsx({}),
],
esbuild: {
jsxFactory: 'h',
jsxFragment: 'Fragment',
},
});