-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export a browser
version
#511
Comments
In the longer term I plan to release a new major version that does not use In the meantime, pull requests that fix the problem are of course welcome. |
Just FYI, I got it running in Cloudflare Workers by adding this in the package.json "browser": {
"fs": false
} |
I just pushed a preview of |
@cimnine does this work for you? |
Indeed 👍 |
Since v6 has been released for a few days now, I'm closing this ticket. If there are still problems in the browser, feel free to open a ticket again. |
We had a user who wanted to use this package on Cloudflare Workers. The Node APIs are not available there so you can't import
node:fs
. It'd be nice if the other APIs could be made available without that functionality and importYou could make it available in the browser by exporting a smaller subset of APIs that has most of the functionality except for writing to files:
The text was updated successfully, but these errors were encountered: