Skip to content

Instantly share code, notes, and snippets.

@nnarhinen
Created November 29, 2014 10:33
Show Gist options
  • Save nnarhinen/93dca8a7e8e3cf949789 to your computer and use it in GitHub Desktop.
Save nnarhinen/93dca8a7e8e3cf949789 to your computer and use it in GitHub Desktop.
Browserify not reading package.json?

Works:

./node_modules/.bin/browserify -t [reactify --es6] src/frontend/index.js 

Does not work:

./node_modules/.bin/browserify src/frontend.index.js

The second one according to the error message is not using reactify transform.

{
"browserify": {
"transform": [
["reactify", { "es6": true }]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment