16 lines
357 B
TypeScript
16 lines
357 B
TypeScript
import { defineConfig } from 'vite';
|
|
import vue from '@vitejs/plugin-vue';
|
|
import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
build: { sourcemap: 'inline' },
|
|
esbuild: { sourcemap: 'both' },
|
|
plugins: [
|
|
vue(),
|
|
vueJsx({
|
|
// options are passed on to @vue/babel-plugin-jsx
|
|
})
|
|
]
|
|
});
|