27 lines
588 B
JavaScript
27 lines
588 B
JavaScript
import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
|
|
export default {
|
|
base: './',
|
|
resolve: {
|
|
alias: {
|
|
'@schlechtenburg/core': '../core/lib/index.ts',
|
|
'@schlechtenburg/paragraph': '../paragraph/lib/index.ts',
|
|
'@schlechtenburg/heading': '../heading/lib/index.ts',
|
|
'@schlechtenburg/image': '../image/lib/index.ts',
|
|
'@schlechtenburg/layout': '../layout/lib/index.ts',
|
|
},
|
|
},
|
|
plugins: [
|
|
vueJsx({}),
|
|
],
|
|
esbuild: {
|
|
jsxFactory: 'h',
|
|
jsxFragment: 'Fragment',
|
|
},
|
|
build: {
|
|
minify: false,
|
|
sourcemap: true,
|
|
outDir: 'dist',
|
|
},
|
|
};
|