file-viewer-demo/vite.config.ts

22 lines
517 B
TypeScript
Raw Permalink Normal View History

2023-04-24 05:44:48 +00:00
import {fileURLToPath, URL} from 'node:url'
import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), vueJsx()],
base: './',
optimizeDeps: {
include: [
2024-01-26 09:40:08 +00:00
'./node_modules/@flyfish-group/file-viewer3/dist/components',
2023-04-24 05:44:48 +00:00
],
},
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})