19 lines
387 B
TypeScript
19 lines
387 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
base: './',
|
|
publicDir: 'public',
|
|
build: { target: ['chrome74'] },
|
|
resolve: { alias: { '@': '/src' } },
|
|
plugins: [vue()],
|
|
optimizeDeps: {
|
|
esbuildOptions: {
|
|
define: { global: 'globalThis' },
|
|
target: 'es2015',
|
|
supported: { bigint: true }
|
|
}
|
|
}
|
|
})
|
|
|