javascript-starter
Rollup
Our great sponsors
javascript-starter | Rollup | |
---|---|---|
1 | 55 | |
99 | 23,150 | |
- | 1.2% | |
10.0 | 9.7 | |
18 days ago | 5 days ago | |
JavaScript | JavaScript | |
- | GNU General Public License v3.0 or later |
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.
javascript-starter
-
Getting started with NestJS, Vite, and esbuild
Another option is to clone the starter repo from GitHub. Note that to install the JavaScript flavor of the starter project, we can clone this repo, but you’ll need Babel to compile vanilla JavaScript).
Rollup
-
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.
-
Enhance your Docsify experience with your own plugin
We use Vite as a dev server. This allows you to take advantage of hot reloading in development and easily build and minify code with Rollup integration. Vitest is also provided, so you can write tests in the matching folder.
-
Introduction to React Suspense
In this project I use my favorite bundling tool called vite, It is a fast compiler & bundler, and it uses rollup under the hood.
-
Fixing Class Composition in Tailwind CSS
While not too long, css`@apply is a lot to repeat for every class you want to “compile”. That’s why using Vite and some Rollup plugins (Vite uses Rollup under the hood) I was able to shorten it into this:
-
Getting Tailwind to Work with Elm Book
Most front-end frameworks nowadays include these features as part of their CLI’s such as Create React App, Angular’s ng-cli, etc. For those that don’t, many will use a combination of some type of bundler like Parcel, Rollup, or Webpack and a browser refresher like livereload. This enables you to write code, save it, and immediately see the results. This in turn leads to fast feedback as you iterate all day in this build loop. The native Elm Reactor doesn’t offer this ability and elm-live fits the bill as a small Node.js library to enable this.
-
Front-end Guide
Rollup
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.
browserify - browser-side require() the node.js way
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:
Brunch - :fork_and_knife: Web applications made easy. Since 2011.