Closed wireframe closed 8 years ago
I can almost fix this by hacking the library to:
baz = require('npm:bar').default.baz;
but that's not something i can ship. is there a way to pre/post process the library to find the proper dependency?
for additional context, here's a demo repository w/ a brand new ember app that demonstrates the issue: https://github.com/wireframe/ember-browserify-demo
and the specific commit/patch that breaks the app here: https://github.com/wireframe/ember-browserify-demo/commit/90eab9e93b6f7d074a71a2fe509f50a06ae32126
I don't know if this is an issue with this library. It seems like your dependency loads a native dependency, im not clear how it can be browserified
Ya, just double checked this library just appears to not browserify. (lots of stuff on npm doesn't) I dont think we can do much. ;(
my package.json:
my component
node_modules/foo/package.json:
node_modules/foo/index.js:
Error: