rules_nodejs VS snowpack

Compare rules_nodejs vs snowpack and see what are their differences.

snowpack

ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ (by FredKSchott)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
rules_nodejs snowpack
8 12
718 19,546
0.4% -
8.1 0.0
8 days ago about 1 year ago
Starlark JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

rules_nodejs

Posts with mentions or reviews of rules_nodejs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-25.
  • Bazel jasmine_test issue
    1 project | /r/bazel | 24 Jul 2023
  • Vercel announces Turbopack, the successor to Webpack
    21 projects | news.ycombinator.com | 25 Oct 2022
    Bazel is just the infrastructure to run webpack. You'd need to do some work to make webpack's state be cacheable (I dunno what options and such it has for this, maybe it's already there as an option). But if you're looking at Bazel for JS work you probably just want to use the existing and maintained rules for it: https://github.com/bazelbuild/rules_nodejs It's been a while since I last looked at it but I don't think it has any caching for webpack.
  • Turborepo 1.2: High-performance build system for monorepos
    6 projects | news.ycombinator.com | 8 Apr 2022
    > Is Bazel designed in a way that make it impossible to do JS monorepos well?

    Not impossible, but you really need to go all in with it and follow its conventions and practices. See this for the main docs: https://github.com/bazelbuild/rules_nodejs

    One thing in particular that doesn't work well in the bazel world is doing your own stuff outside its BUILD.bazel files. If you're used to just npm install and jam some code in your package.json scripts... that doesn't usually work in the bazel world. If you have a lot of logic or tools in your build you'll likely need to go all in and make bazel starlark rules or macros that recreate that logic. Nothing is impossible, but expect to spend time getting up to speed and getting things working the bazel way.

  • Advice on build scripts and tooling
    2 projects | /r/typescript | 21 Jan 2022
    I am using Bazel with rules_nodejs and Webpack. There's an example here.
  • Help me figure out writing a webapp in Go and JavaScript, with Bazel
    3 projects | /r/bazel | 14 May 2021
    It is probably possible to build Angular with ts_project(), however you'd need to manually manage the compiler (Angular has its own) and tsconfig (Angular needs special options). ts_library() does a lot of this for you, so I think it would probably be easier to use that than to force yourself onto ts_project(). The canonical Angular example uses ts_library() FWIW: https://github.com/bazelbuild/rules_nodejs/tree/master/examples/angular
  • Developing in a Monorepo While Still Using Webpack
    1 project | news.ycombinator.com | 23 Dec 2020
    https://github.com/bazelbuild/rules_nodejs
  • On Bazel Support
    1 project | dev.to | 2 Nov 2020
    Nx is widely used in the Angular community. The Angular team at Google had plans to add Bazel support to the Angular CLI for many years, but the plans didn't materialize. The key folks (e.g., Alex Eagle) working on the effort left Google. Google employees no longer maintain rules_nodejs.

snowpack

Posts with mentions or reviews of snowpack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-25.
  • Build a Vite 5 backend integration with Flask
    11 projects | dev.to | 25 Feb 2024
    Once you build a simple Vite backend integration, try not to complicate Vite's configuration unless you absolutely must. Vite has become one of the most popular bundlers in the frontend space, but it wasn't the first and it certainly won't be the last. In my 7 years of building for the web, I've used Grunt, Gulp, Webpack, esbuild, and Parcel. Snowpack and Rome came-and-went before I ever had a chance to try them. Bun is vying for the spot of The New Hotness in bundling, Rome has been forked into Biome, and Vercel is building a Rust-based Webpack alternative.
  • Node.js vs. Deno vs. Bun: JavaScript runtime comparison
    9 projects | dev.to | 6 Sep 2023
    Additional features for Bun include a transpiler and package manager. As hinted at in the name, it also includes bundling features, giving you the functionality that would otherwise require another tool, such as Snowpack or rollup.js. It also has a dead code elimination feature through its JavaScript minifier.
  • Exploring Vite.js: The Lightning-Fast Build Tool for Modern Web Apps
    3 projects | dev.to | 30 Apr 2023
    Even, there are several bundling tools available, including popular ones like Webpack and Snowpack.
  • Should I migrate from create-react-app?
    4 projects | /r/reactjs | 24 Mar 2023
    once upon a time there was this thing called Snowpack: https://www.snowpack.devwhich had a lot of promises as vite (rollup w/ esm). So I migrated a project over from CRA to this thing.While startup speed was much much faster, it actually didn't make the app useable. I timed it meticulously for both CRA and snowpack build and found that the TTI was almost identical. I am not claiming the same to be vite but it's possible and I don't have a large app to prove it..
  • Justifying a Backwards Design Decision for My Programming Language
    2 projects | /r/programming | 24 Feb 2023
    Snowpack.
  • Vercel announces Turbopack, the successor to Webpack
    21 projects | news.ycombinator.com | 25 Oct 2022
    > special snowflake build toolchains

    That reminds me, wasn't there a build tool called Snowflake?

    Oh, it was called Snowpack [1]. And it's no longer being actively maintained. Yeesh.

    [1]: https://www.snowpack.dev/

  • Rocket and web components
    5 projects | dev.to | 11 Oct 2022
    Snowpack app - a single HTML page with Snowpack configuration
  • Building an offline-first app with React and CouchDB
    2 projects | dev.to | 26 Aug 2022
    The first thing we need is a JavaScript project for our app. We'll use Snowpack as our bundler. Open a terminal located in a directory for the project and type npx create-snowpack-app react-couchdb --template @snowpack/app-template-minimal. Snowpack will create a skeleton for our React application and install all dependencies. Once it's done doing its job, type cd react-couchdb to get into the newly created project directory. create-snowpack-app is very similar to create-react-app in how it sets-up your project, but it's a lot less intrusive (You don't even need to use eject at any point).
  • Alternatives to CRA?
    2 projects | /r/reactjs | 15 Aug 2022
    Snowpack appears to be no longer maintained.
  • Creating an express app and using Snowpack as a build tool
    2 projects | /r/learnjavascript | 1 Jul 2022
    Before you get too deep into Snowpack, be aware that they recommend using other tools now because it’s no longer maintained.

What are some alternatives?

When comparing rules_nodejs and snowpack you can also consider the following projects:

jazelle - Incremental, cacheable builds for large Javascript monorepos using Bazel

vite - Next generation frontend tooling. It's fast!

bazel-skylib - Common useful functions and rules for Bazel

esbuild - An extremely fast bundler for the web

rules_docker - Rules for building and handling Docker images with Bazel

parcel - The zero configuration build tool for the web. πŸ“¦πŸš€

bazel-coverage-report-renderer - Haskell rules for Bazel.

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.

bazel-linting-system - πŸŒΏπŸ’š Experimental system for registering, configuring, and invoking source-code linters in Bazel.

astro - The web framework for content-driven websites. ⭐️ Star to support our work!

rules_rust - Rust rules for Bazel

swc - Rust-based platform for the Web