How To Browserify A Browserified Module?
The title seems confusing but I'll give an example. Let's say I create a module that uses ES6 that runs in the browser, so I use browserify with babelify to build everything. Now I
Solution 1:
Found the answer!
This will do the trick https://github.com/substack/browserify-handbook#browser-field
Just define a "browser" index in the package.json file, and point to the initial source file.
:)
Post a Comment for "How To Browserify A Browserified Module?"