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
External bundles #30
Comments
I think the documentation is wrong. If you replace "--exclude" with "--external" it'll work fine. |
I've also tried to reproduce the handbook's excluding example and ran into the same issue, using Browserify v11.0.0. However, using In both cases, you get the "Cannot find module 'jquery'" error. Any further suggestions? |
The following incantation worked for me:
|
I experienced the same issues as @sh1989, and discovered the same fix. Would be nice to get the docs updated, I'll make a PR |
See #62 for an alternative fix.
|
As explain here: https://github.com/substack/browserify-handbook#external-bundles
I do the following:
index.html:
main.js:
And when I open my page I get Uncaught Error: Cannot find module 'jquery'
Is it a code bug, a doc bug or am I just missing something ?
The text was updated successfully, but these errors were encountered: