1
0
forked from PGL/Clyde

fixing top level await

This commit is contained in:
2024-03-07 14:51:36 +01:00
parent 886077349c
commit 8e932b1b67
3 changed files with 243 additions and 42 deletions

View File

@ -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:{