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, Webpack seems to be a lot more popular than bundlejs. While we know about 243 links to Webpack, we've tracked only 7 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.
[bundlejs](https://bundlejs.com/) is the better alternative to check your dependency sizes with. - Source: Hacker News / about 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
React Hook Form has no dependencies and a small bundle size. It has a gzipped bundle size of 12.12KB, according to bundlejs. - Source: dev.to / over 2 years ago
To then serve to the browser. If I was using something like Vite or Webpack I would have gotten this handling for free. - Source: dev.to / about 2 months ago
The JS code gets transpiled by tools like Babel, then bundled (often by Webpack) into a single or few files (like bundle.js). This optimizes the website to load faster, as the browser can fetch everything from one file instead of multiple. - Source: dev.to / 2 months ago
Remember that Webpack is highly configurable, and this article only scratches the surface of what's possible. Be sure to check the official Webpack documentation for more detailed information and advanced configurations. - Source: dev.to / 2 months ago
With Webpack 5, a new feature has helped microfrontends proliferate: Module Federation. Module Federation allows JavaScript code to be loaded — synchronously or asynchronously — at runtime. - Source: dev.to / 2 months ago
Webpack is one of the oldest and most widely used bundlers in web development, created by Tobias Koppers in 2012. It gained popularity after Browserify and RequireJS and has become the go-to choice for managing complex projects. - Source: dev.to / 3 months ago
BundlePhobia - Find the performance impact of adding a npm package to your bundle.
rollup.js - Rollup is a module bundler for JavaScript which compiles small pieces of code into a larger piece such as application.
esbuild - An extremely fast JavaScript bundler and minifier
Parcel - Blazing fast, zero configuration web application bundler
aijs.rocks - A collection of AI-powered JavaScript apps
Babel - Babel is a compiler for writing next generation JavaScript.