Commit cdd53ff
Restore browser field for Vite compatibility
The browser field was accidentally removed, causing Vite to use the
raw CommonJS entry point instead of the pre-bundled UMD file. This
resulted in "Class extends value undefined" errors because Vite
doesn't polyfill Node.js built-ins like the events module.
Fixes #216
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 5ca638b commit cdd53ff
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments