Skip to content

Commit 35c2fe6

Browse files
committed
remove top-level-await dependency
1 parent 8bf5fd7 commit 35c2fe6

File tree

3 files changed

+54
-14
lines changed

3 files changed

+54
-14
lines changed

demos/example-vite/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"@vitest/browser": "^3.2.4",
2020
"playwright": "^1.51.0",
2121
"vite": "^5.0.12",
22-
"vite-plugin-top-level-await": "^1.4.1",
2322
"vite-plugin-wasm": "^3.3.0",
2423
"vitest": "^3.2.4"
2524
}

demos/example-vite/vite.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { defineConfig } from 'vite';
2-
import topLevelAwait from 'vite-plugin-top-level-await';
32
import wasm from 'vite-plugin-wasm';
43

54
// https://vitejs.dev/config/
@@ -18,10 +17,9 @@ export default defineConfig({
1817
// https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
1918
exclude: ['@journeyapps/wa-sqlite', '@powersync/web']
2019
},
21-
plugins: [wasm(), topLevelAwait()],
20+
plugins: [wasm()],
2221
worker: {
2322
format: 'es',
24-
plugins: () => [wasm(), topLevelAwait()]
2523
},
2624
test: {
2725
globals: true,

pnpm-lock.yaml

Lines changed: 53 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)