-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Webpack support #34
Comments
Yes, it should work, but it looks like the tool you use to build JavaScript (webpack? rollup? browserify) is not configured to include native node modules. This really depends on the tool you’re using, so you’ll probably fare best by checking with them! |
Ah okay. Maybe that is some information for the documentation? Do you have an example how to use it with webpack? I can't get it to work :/ |
@philippkuehn I'm sure you figured this out by now, but by default webpack adds and bundles Node dependencies when the target is web (the default, see webpack's target documentation). |
I'm hitting this issue, too while serving an Angular app (I'm on Angular 7). I'm using angular-cli to serve the app, which is using webpack, but which (maybe?) isn't supplying these node libraries. Would love to be able to use this, definitely think it could use some documentation for getting it to run in a browser. |
Folks, for questions with browser usage please use Spectrum. |
Your basic markdown example isn't working in a browser.
I will get an error
The problem is this line in vfile
When commenting this line out everything is fine. Is this the expected behavior? I don't see anything in the docs that unified is only made for node.
The text was updated successfully, but these errors were encountered: