I know I'm late but I wanted to polish it up. You can now use it at https://t.co/qKaFxZYHag or https://t.co/PMzyLUcG4o both work, just use the share url queries you know and love... and get a bundle size badge, polyfilled bundle, metafile, json response, etc...
🧵
/1
bundlejs now support full react-native builds with including flow type transforms 🎉, etc...
will only available in the API at first but should be coming to the browser soon
@agilecoder@bundlephobia@CSSHooks possibly, a little biased but highly likely https://t.co/Ui6IfEAPx3 is more accurate as it bundles the actual code live, though this is probs a more precise comparison
@yuyinws@anvaka@privatenumbr@antfu7@Atinux I am a regular user of npmgraph. Thanks for letting me know about https://t.co/VS5chgnhI3
Another neat project is @jsbundle (https://t.co/loLQweWLWc). It computes minified and gzipped size.
One of the things that brings a smile to my face, is when when I see a bundle size then click the link for the bundle size and it leads to bundlejs (cc @jsbundle )
What do y'all think? The current syntax is basically unshareable, it is also very unstable and breaks too easily, it's tough to setup versions for it as well...so, I'd love you takes on this new version
TIL, I had a bunch of bundlejs prs that were just languishing where I solved a number of bugs but just kinda forgot about...
I've now re-fixed a number of these bugs, but separately 😅
I'm now cleaning up older prs
Great news, bundlejs now supports https://t.co/JIj5yWWx3j packages (cc @deno_land)
Just add `jsr:..` and you're good.
PS. Under the hood it's just using https://t.co/LzEypcumpp by @jexia_
BTW, I recommend checking out @brielov's `@oxi/result` on jsr, it's a wonderful package
TIL, each browser and runtime implements gzip and the CompressionStream slightly differently that's why the compression results for bundlejs in both the API and the Browser are just a couple KB's off.
BTW, even Deno, and Node.js implement it slightly differently
@localhost_5173 It seems `react-dom` refers to itself in its own import, in addition it doesn't list the `react-dom` package in its package.json, so bundlejs just defaults to the latest version of the package
I'm not sure if this is a bug or an expected feature of Node.js I need to implement?