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, Next.js seems to be a lot more popular than bundlejs. While we know about 1076 links to Next.js, 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 / 25 days ago
[bundlejs](https://bundlejs.com/) is the better alternative to check your dependency sizes with. - Source: Hacker News / 3 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 reason: file-based routing, SEO support, multiple CSS features, instant UI retrieval from the server, creation of API endpoints within the project itself, and loads of other features. You can read about this in detail here - link. - Source: dev.to / 2 days ago
If you’ve followed this article so far, great job on putting together a commenting system that combines secure authentication with real-time collaboration using Next.js, Prisma, Radix UI, Clerk Auth and Velt. While this is a simple demo, you can build upon it for your projects using these tools. - Source: dev.to / 4 days ago
But I want to say that this topic is clearly not new in 2025, I will not reveal anything supernatural here. HTMX and Alpine.js have already fully proven to everyone that this is not nonsense. I am just retelling everything, but with one interesting remark - this is the HMPL template language which is better than the previous two in some tasks. Next, I will describe why and how it will help you replace Next.js. - Source: dev.to / 19 days ago
This article assumes the reader is a developer that knows their way around Markdown, TypeScript, React.js, and [Next.js] https://nextjs.org/). Familiarity with Tailwind-css would also be useful. - Source: dev.to / 21 days ago
The popularisation of SSR among frontend developers can be largely attributed to the widespread adoption of frameworks with server-side rendering. These frameworks provide an elegant integration of SSR with modern JavaScript libraries and frameworks like React and Vue.js. Next.js, for instance, has become a de facto choice for many React developers seeking to leverage SSR's benefits without sacrificing the... - Source: dev.to / 22 days ago
BundlePhobia - Find the performance impact of adding a npm package to your bundle.
Vercel - Vercel is the platform for frontend developers, providing the speed and reliability innovators need to create at the moment of inspiration.
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.
React - A JavaScript library for building user interfaces
esbuild - An extremely fast JavaScript bundler and minifier
Nuxt.js - Nuxt.js presets all the configuration needed to make your development of a Vue.js application enjoyable. It's a perfect static site generator.