You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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.
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: