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
With the browserify CLI tool you can specify e.g. browserify -r fs:browserify-fs, but attempting require: ['fs:browserify-fs'] for grunt-browserify fails. I also tried various other combinations involving alias: ['fs:browserify-fs'] and require: ['fs','browserify-fs'], to no avail. Any hints? Thanks!
The text was updated successfully, but these errors were encountered:
You're right, it fails with the current version of grunt-browserify. I almost resolved the issue in my PR #215 but your comment confirmed another issue in browserify, not grunt-browserify.
I did a little test with the same command as yours, and with the latest version of browserify, the alias is not created. I filled a bug in the main repo (see browserify/browserify#850)
This should be resolved once we upgrade to a newer version of browserify when the bug is fixed in the main repo.
With the browserify CLI tool you can specify e.g.
browserify -r fs:browserify-fs
, but attemptingrequire: ['fs:browserify-fs']
for grunt-browserify fails. I also tried various other combinations involvingalias: ['fs:browserify-fs']
andrequire: ['fs','browserify-fs']
, to no avail. Any hints? Thanks!The text was updated successfully, but these errors were encountered: