Commit a10b829
fix: add bare module name stubs to browser field for browserify
browserify resolves dynamic import("fs/promises") as bare module
names, not node:-prefixed. Add both variants so browserify stubs
them correctly in browser builds.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ec132e8 commit a10b829
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
0 commit comments