Skip to content

Commit

Permalink
fix: top-level await bb.js 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad0 committed Feb 7, 2024
1 parent 7a34af1 commit ea48b5d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vite-hardhat/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';

export default defineConfig({
optimizeDeps: {
esbuildOptions: {
target: 'esnext'
}
},
build: {
target: 'esnext',
target: 'esnext'
},
plugins: [react()],
});

0 comments on commit ea48b5d

Please sign in to comment.