thlorenz / browserify-shim

📩 Makes CommonJS incompatible files browserifyable.
MIT License
934 stars 87 forks source link

Added Troubleshooting section for Errors #212

Closed qualitycode closed 8 years ago

qualitycode commented 8 years ago

It is important to document that the correct setup is to have all your files inside (or below) the dir that contains the package.json

bendrucker commented 8 years ago

Thanks for submitting this! I know this is something that's tripped up a good number of people. I reworded this a bit and put the note much higher in the readme. In particular I wanted to document the pretty reasonable workaround which is to put shim configuration where your libraries are if you want to store them above your package.