Skip to content

Commit 91a57d7

Browse files
author
Hein
committed
Remove unnecessary deps
1 parent 1cb4be4 commit 91a57d7

File tree

3 files changed

+349
-272
lines changed

3 files changed

+349
-272
lines changed

packages/attachments/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,13 @@
3232
"@powersync/common": "workspace:^1.18.1"
3333
},
3434
"devDependencies": {
35-
"@powersync/web": "workspace:*",
36-
"@journeyapps/wa-sqlite": "^1.0.0",
3735
"@types/node": "^20.17.6",
3836
"@vitest/browser": "^2.1.4",
3937
"ts-loader": "^9.5.1",
4038
"ts-node": "^10.9.2",
4139
"typescript": "^5.6.3",
4240
"vite": "^5.4.10",
4341
"vite-plugin-top-level-await": "^1.4.4",
44-
"vite-plugin-wasm": "^3.3.0",
4542
"vitest": "^2.1.4",
4643
"webdriverio": "^9.2.8"
4744
}

packages/attachments/vitest.config.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1-
import wasm from 'vite-plugin-wasm';
21
import topLevelAwait from 'vite-plugin-top-level-await';
32
import { defineConfig, UserConfigExport } from 'vitest/config';
43

54
const config: UserConfigExport = {
6-
worker: {
7-
format: 'es',
8-
plugins: () => [wasm(), topLevelAwait()]
9-
},
10-
optimizeDeps: {
11-
// Don't optimise these packages as they contain web workers and WASM files.
12-
// https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
13-
exclude: ['@journeyapps/wa-sqlite', '@powersync/web']
14-
},
15-
plugins: [wasm(), topLevelAwait()],
5+
plugins: [topLevelAwait()],
166
test: {
177
isolate: false,
188
globals: true,

0 commit comments

Comments
 (0)