Skip to content

Commit

Permalink
fix(pglite/tools): add node imports to the package.json browser exclu…
Browse files Browse the repository at this point in the history
…des (#444)
  • Loading branch information
samwillis authored Nov 27, 2024
1 parent 34cd616 commit 17c9875
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-beers-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@electric-sql/pglite-tools': patch
---

add node imports to the package.json browser excludes
4 changes: 4 additions & 0 deletions packages/pglite-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
"stylecheck": "pnpm lint && prettier --check ./src ./tests",
"test": "vitest"
},
"browser": {
"fs": false,
"fs/promises": false
},
"devDependencies": {
"@electric-sql/pglite": "workspace:*",
"@types/emscripten": "^1.39.13",
Expand Down

0 comments on commit 17c9875

Please sign in to comment.