For my build process I use Gulp/Browserify/Babelify and everything works fine in development. However, for production, I add UglifyJS to the mix and it chokes on ./src/strategy.js (you can see for yourself here).
Adding the browser path to package.json allows it to use the compiled version instead and everything works fine. Hope this works for you too.
For my build process I use Gulp/Browserify/Babelify and everything works fine in development. However, for production, I add UglifyJS to the mix and it chokes on
./src/strategy.js
(you can see for yourself here).Adding the
browser
path to package.json allows it to use the compiled version instead and everything works fine. Hope this works for you too.