-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Merge bundling Browser examples #1817
Comments
How do you mean merge? Put in a directory like this?: /examples/bundling-for-browser/browserify
/examples/bundling-for-browser/parceljs
/examples/bundling-for-browser/webpack
/examples/bundling-for-browser/script-tag |
My proposal was more on
|
As a bonus. We can add as part of the tutorial how to see the size of the final bundle and compare (time spent x bundle size) and explain why we use WebPack ourselves for dist vs all the others. |
If each bundler is a separate example, I think people will take the If all the bundler examples are bundled (!) into one example, it would be harder to look at the |
I think there's a huge amount of value in the copy/paste-ability of an individual example. Combining them into one will remove that - like @achingbrain said you'd have to figure out what dependencies and config applies to which bundler and that's not something I want to push onto developers trying to use js-ipfs. Another potential hurdle: I don't know for sure if it'll be possible i.e. conflicting dependencies and |
Understood. Thanks for reviewing the proposal, dropping it based on feedback. |
proposal: let's use merge the "bundling for the browser" examples:
The text was updated successfully, but these errors were encountered: