I want to use a library that was build using browserify. The library built correctly and works fine when it is used by itself.
Now that built librar
aaaah, i finally got it working. using the standalone option of browserify along with gulp-derequire did the trick! yay!
This seems to be pretty borked.
Here are a few options:
Run derequire on myLib
before consuming.
Try browserifying your app like so:
browserify({
entries: ['./entry'],
noParse: ['/abs/path/to/vendors/myLib.js'],
})
If it doesn't work, try it without the extension in the noParse
value.
Minify myLib
before consuming it.