2022-09-05 19:12:20 +00:00
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
import vueJsx from '@vitejs/plugin-vue-jsx'
|
|
|
|
import { join } from 'path';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [
|
|
|
|
vueJsx(),
|
|
|
|
],
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'@schlechtenburg/core': join(__dirname, '../packages/core/lib/index.ts'),
|
|
|
|
'@schlechtenburg/paragraph': join(__dirname, '../packages/paragraph/lib/index.ts'),
|
|
|
|
'@schlechtenburg/heading': join(__dirname, '../packages/heading/lib/index.ts'),
|
|
|
|
'@schlechtenburg/image': join(__dirname, '../packages/image/lib/index.ts'),
|
|
|
|
'@schlechtenburg/layout': join(__dirname, '../packages/layout/lib/index.ts'),
|
2023-01-02 18:45:49 +00:00
|
|
|
'@schlechtenburg/italic': join(__dirname, '../packages/italic/lib/index.ts'),
|
2022-09-05 19:12:20 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|