fixing top level await
This commit is contained in:
@ -2,11 +2,13 @@ import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import topLevelAwait from 'vite-plugin-top-level-await'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
topLevelAwait(),
|
||||
],
|
||||
build: {
|
||||
rollupOptions:{
|
||||
|
Reference in New Issue
Block a user