Rollup
browserify
Our great sponsors
Rollup | browserify | |
---|---|---|
60 | 32 | |
23,504 | 14,363 | |
0.7% | 0.0% | |
9.7 | 1.0 | |
10 days ago | about 1 year ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Rollup
-
How to build and publish React TypeScript NPM packages with Vite
Vite (read as vit) is actually a combination of two great frontend tools - an immensely fast development server and a build command for shipping heavily optimized static assets using Rollup. Many developers have encountered the process of setting up a project using Create React App. While CRA can be useful for beginners due to its simplicity and abstraction of configuration, it has some drawbacks that outweigh its benefits, particularly its tendency to be bloated. Don't get me wrong, Vite is opinionated as well, but it's highly extensible through its Plugin API.
-
Building a modern gRPC-powered microservice using Node.js, Typescript, and Connect
As we iterate on the definition, we are going to want a better developer experience for rebuilding the package on changes. Typically, for a “library” or “utility” style package, I’d reach for either unbuild’s stub concept or use esbuild/tsup/rollup to implement a more traditional watch/rebuild, but in this case, I’m watching a proto file that lives outsides of the source, which breaks assumptions of those tools.
-
Buildless workflow through import maps (featuring Lit, Shoelace and more)
As we can see, we have two external dependencies and one internal tool. In the modern way of packaging our application, we would be of course required to package this project using some bundler like ESBuild or Rollup. But with import maps, we can instead utilize CDN's to deliver our packages and completely eliminate the bundling step.
-
How are you building React applications? It's time to move on from Create React App
Vite has a great plugin ecosystem because it leverages the same plugin interface as Rollup, meaning most Rollup plugins are also compatible with Vite. The Vite guide offers more reasons for why you might want to check out Vite.
-
JavaScript Module Bundlers and all that Jazz ✨
Other popular build tools include Vite.js, Browserify, Rollup - The bundler behind vite.
-
React Server Components and Client Components with Rollup
Awhile back I wrote about packaging your JavaScript library code into a dual-module bundle (ESM + CommonJS) using Rollup module bundler. Make sure to check it out (it's been updated for Rollup v3!).
While searching for a solution, I came across this issue. Ironically, one of the suggested solutions in there was the initial solution described earlier above. However, there was also another suggestion.
-
The Complete Guide to User Authentication in Firebase
In this blog, we'll cover how to implement a simple login signup functionality using firebase. We'll be using modular JavaScript SDK, which (according to the documentation) provides a reduced SDK size and greater efficiency with modern JavaScript build tools such as Webpack or Rollup.
-
What is your ideal setup for new project for solo developers
My go-to front end these days is Lit with web components, rollup, and web dev server.
-
How to use Firestore with Redux in a React application
With tools like webpack (used by create-react-app under the hood), your entire application needs to be bundled in a single file before it can be served to the browser. Vite, on the other hand, takes advantage of native ES modules in the browser to make bundling more efficient with Rollup, serving parts of the source code as needed.
browserify
-
JavaScript Module Bundlers and all that Jazz ✨
This began to change when NPM came in and running npm install became a quick and easy way to install dependencies. Browserify became the first JavaScript bundler. As its documentation says -
-
What stack would you use for building a landing page?
https://www.npmjs.com/package/browserify probably a little old school, but browserify is probably good enough.
- Node.js やReact、ESM、Viteの説明
-
Hack to Run React Application inside Service Worker
One problem was to run jsDOM as UMD module. But luckly I was able to use browserify to compile jsDOM into UMD.
-
Front-end Guide
Browserify
-
Help with parse errors converting modular JavaScript to single file
I think I've got it: Browserify. Wish me luck!
-
Why NodeJS in Front Ends?
Module bundlers, which combine all your JS code and its dependencies into one massive file. Examples include webpack and browserify.
-
es6-cheatsheet
Prior to ES6, we used libraries such as Browserify to create modules on the client-side, and require in Node.js. With ES6, we can now directly use modules of all types (AMD and CommonJS).
-
Code Splitting with React Router v6, React Lazy and Suspense (in simple terms)
There are a few manual ways to code split with Webpack, Rollup, Browserify and other bundling tools. But React has provided features to help tackle this called: React.Lazy and Suspense.
-
Node.js in Chrome extension
It's not exactly an extension, but if you want to run node code in the browser with all the dependencies I recommend this https://browserify.org/
What are some alternatives?
esbuild - An extremely fast bundler for the web
vite - Next generation frontend tooling. It's fast!
tsup - The simplest and fastest way to bundle your TypeScript libraries.
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]
gulp - A toolkit to automate & enhance your workflow
parcel - The zero configuration build tool for the web. 📦🚀
Microbundle - 📦 Zero-configuration bundler for tiny modules.
Speed Measure Plugin - ⏱ See how fast (or not) your plugins and loaders are, so you can optimise your builds
FuseBox - A blazing fast js bundler/loader with a comprehensive API :fire: