bundle is a quick and easy way to bundle your projects, minify and see it's gzip size. It's an online tool similar to bundlephobia, but bundle does all the bundling locally on you browser and can treeshake and bundle multiple packages (both commonjs and esm) together, all without having to install any npm packages and with typescript support.
If there is something I missed, a mistake, or a feature you would like added please create an issue or a pull request and I'll try to get to it. You can contribute to this project at okikio/bundle.
You can join the discussion on Github discussions or Twitter.
You can now use search queries in bundle, all you need to do is add this to the url
?q={packages}&treeshake={methods to treeshake}
e.g.
You want react
, react-dom
, vue
, and @okikio/animate
, but only want the Animate
and toStr
methods exported from @okikio/animate
.
You would add this to the url bundlejs.com/?q=react,react-dom,vue,@okikio/animate&treeshake=[*],[*],[*],[{Animate,toStr}]
No bundlejs videos yet. You could help us improve this page by suggesting one.
Based on our record, Svelte seems to be a lot more popular than bundlejs. While we know about 392 links to Svelte, we've tracked only 8 mentions of bundlejs. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
These numbers don't reflect anything useful. This is the total size of the code in the package, most of which will be tree-shaken. In Zod's case, the package now contains three independent sub-libraries. I recommend plugging a script into bundlejs.com[0] to see bundle size numbers for a particular script [0] https://bundlejs.com. - Source: Hacker News / 10 days ago
[bundlejs](https://bundlejs.com/) is the better alternative to check your dependency sizes with. - Source: Hacker News / 2 months ago
I was closing out some long lived issues over on bundlejs, when issue #50 reminded me of the ongoing debate about how bundlejs should handle the ESM and CJS packages. - Source: dev.to / almost 2 years ago
Still, I'm not really sure about its dependencies: it lists react and @tanstack/react-query (as opposed to @tanstack/query-core) and bundlejs reports 124KB gzipped. Also, while using it, you still need to refer to their react docs (that documentation is really good and has a lot of examples) but not everyone will be thrilled about checking a react documentation when they're using an angular package. Source: almost 2 years ago
It's somewhere in between. React as a lib and architecture _is_ platform-agnostic. The core logic is defined in the `react-reconciler` package. It contains all the implementation of rendering components, diffing trees, managing state, and running effects, as well as all the "Suspense" implementation. However, the way `react-reconciler` works is that it's built _into_ each platform-specific renderer... - Source: Hacker News / almost 2 years ago
The first time I visited https://svelte.dev , the non-flat-vector banner instantly won me. It just stands out from the world around it. I just sort of assumed the engineering was superior to the competition if they were going to lead with crimped metal (and was right). Flat design has always struck me as an extremist response to an issue. Windows Vista required everyone to be on the same page design-language wise... - Source: Hacker News / 3 days ago
Svelte as the main framework. (Whimsy is my first Svelte project, actually! And Svelte didn't disappoint. Almost.). - Source: dev.to / 6 days ago
We're going to build our Svelte application using the Svelte REPL sandbox (or just REPL) at svelte.dev. I recommend checking out all the great documentation at svelte.dev, like its Examples section showcasing Svelte's many features, as well as the cool interactive tutorial at learn.svelte.dev. - Source: dev.to / 7 days ago
In theory, “de-frameworking yourself” is cool, but in practice, it’ll just lead to you building what effectively is your own ad hoc less battle-tested, probably less secure, and likely less performant de facto framework. I’m not convinced it’s worth it. If you want something à la KISS[0][0], just use Svelte/SvelteKit[1][1]. Nowadays, the primary exception I see to my point here is if your goal is to better... - Source: Hacker News / 18 days ago
When I teased this series on LinkedIn, one comment quipped that Vue’s been around since 2014—“you should’ve learned it by now!”—and they’re not wrong. The JS ecosystem churns out UI libraries like Svelte, Solid, RxJS, and more, each pushing reactivity forward. React’s ubiquity made it my go-to for stability and career momentum. Now I’m ready to revisit new patterns and sharpen my tool-belt. - Source: dev.to / 19 days ago
BundlePhobia - Find the performance impact of adding a npm package to your bundle.
React - A JavaScript library for building user interfaces
Webpack - Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
Vue.js - Reactive Components for Modern Web Interfaces
esbuild - An extremely fast JavaScript bundler and minifier
Tailwind CSS - A utility-first CSS framework for rapidly building custom user interfaces.