-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Can't resolve 'fs', brfs browserify problem? #20
Comments
Some bundlers handle this automatically (example: parcel will inline fs.readFile, but esbuild requires a plugin to do so). If you can't or don't want to configure your bundler to inline this, do what I did:
Put that code in your build script, and then your bundler will only see a file that has already inlined that big file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having hard time to make this package work, I'm keep getting that
fs
anda
modules are missing, I found similar one in the previous issues but I still can't solve it.I'm using Nuxtjs SSR/webpack and I have never used the browserify.
Is there any clear way to get it work?
I appreciate it and thank you in advance 🙏
The text was updated successfully, but these errors were encountered: