-
Notifications
You must be signed in to change notification settings - Fork 91
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
Shim dependencies ignored #184
Comments
You might try turning off browserifyinc to see as your manual test is direct w/o browserifyinc. Sorry for the slow response. |
Thanks!
… On 7. Feb 2018, at 17:27, Cymen Vig ***@***.***> wrote:
You might try turning off browserifyinc to see as your manual test is direct w/o browserifyinc. Sorry for the slow response.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I’m running into an issue where a
browserify-shim
dependency isn’t being included.browserify-rails config:
package.json:
Relevant part of
application.js
However, browserify-rails isn’t including the
util.js
dependency. If I precompile the assets, that file isn’t included (tested with grepping for a particular line of code).However, if I run it manually, as such:
./node_modules/.bin/browserify -d --extension=es6 -t [ babelify --presets [ es2015 react stage-0 ] --plugins [ lodash ] ] -t [ browserify-shim ] app/assets/javascripts/application.js -o bundle.js
Then the dependency is included.
The text was updated successfully, but these errors were encountered: