Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsimplifyify fails to pick browserify-shim out of package.json #8
Comments
|
Do you have |
|
Browserify is picking the shim just fine from what I'm seeing in the result
|
|
I think your problem may be similar to one I had today when using a command line to bundle files in my project/client/scr directory. The command line was issued from the /project directory where the main package.json also resided. I also had a package.json in my /project/client directory. I believe simplifyify starts looking for a package.json starting at /project/client/scr in my case and walks up the directory structure until it finds one. So it found and used the one in my /project/client directory instead of the one in /project. This caused my babelify transform not to be run as I had the entry in the /project/package.json not the /project/client/project.json. Hope this helps. |
This block:
Generates a proper JS when using browserify 13.0.0 , but fails when using simplifyify, with message: