qmetrics.net

Babel Loader

Webpack and Rspack loader for Babel transpilation

babel-loader lets JavaScript projects transpile source files through Babel inside webpack or Rspack builds. You configure it as a module rule with standard Babel options.

Overview

babel-loader is a loader package that connects Babel to webpack and Rspack so build pipelines can transpile JavaScript and related syntax during bundling. It passes loader options through to Babel, merging them with babel.config.js or .babelrc settings.

Loader-specific options include filesystem caching to speed rebuilds, optional gzip cache compression, custom metadata subscribers, and hooks for advanced customization APIs. Documentation covers troubleshooting slow builds by narrowing which files are matched, excluding node_modules, and using cacheDirectory.

It documents compatibility matrices for babel-loader major versions against webpack, Babel, and Node.js releases. Additional sections explain handling legacy Babel 6 branches, excluding problematic dependencies, customizing presets per webpack target, and building bespoke loaders via the .custom helper.

Output and semantic issues belong to Babel itself; babel-loader focuses on wiring transpilation into module bundlers.

Key features

  • Babel integration for webpack
  • Rspack compatibility
  • Configurable Babel options merge
  • Filesystem transpile cache
  • Loader-specific customization hooks
  • Target-aware preset configuration
  • Troubleshooting guidance for builds

Use cases

  • Transpiling modern JS in webpack bundles
  • Caching Babel output across rebuilds
  • Targeting different environments per build
  • Custom loader wrappers around Babel

Tags

Similar software

husky

Lightweight native Git hooks for Node projects

A small npm package that wires Git hooks via core.hooksPath to run checks on commit and push, including lint, tests, and message rules.

  • Uses Git core.hooksPath
  • All client-side Git hooks supported
  • macOS, Linux, and Windows support
JavaScriptLinux, macOS, WindowsDetails →
★ 35.4k⟳ 8 months agoMIT

gulp.js

Streaming JavaScript toolkit for development workflow automation

Gulp automates repetitive development tasks by chaining streaming file transformations. It offers a small API, thousands of plugins, and runs with Node.js and other platforms used in major IDEs.

  • Streaming in-memory file pipelines
  • Minimal task-oriented JavaScript API
  • Large curated plugin ecosystem
JavaScriptCLIDetails →
★ 32.9k⟳ 9 months agoMIT

electron-builder

Packaging and distribution tool for Electron applications

electron-builder produces macOS, Windows, and Linux installers and archives from Electron projects, with built-in auto-update hooks and publishing helpers.

  • Multi-platform installers
  • electron-updater integration
  • GitHub and S3 publishing
TypeScriptLinux, macOS, Windows, DockerDetails →
★ 14.7k⟳ todayMIT

browserify

Node-style CommonJS bundler for browser JavaScript

Browserify walks require() calls in your JavaScript and packs dependencies into one browser file. It supports npm modules, shims for Node core libs, and a CLI plus programmatic API.

  • Recursive require() dependency graph
  • npm module resolution in bundles
  • Node core library shims
JavaScriptCLIDetails →
★ 14.7k⟳ 1 month agoMIT

Jib

Daemonless container image builder for Java applications

Jib builds optimized Docker and OCI images for Java apps without a Docker daemon. It ships as Maven and Gradle plugins, a core library, and a CLI.

  • Maven and Gradle plugins
  • Layered dependency and class splits
  • No Docker daemon required
JavaCLIDetails →
★ 14.5k⟳ todayApache-2.0

Rolldown

Rust JavaScript bundler with Rollup-compatible API

Bundles JavaScript and TypeScript using a Rust core, exposes Rollup-like APIs and plugins, and targets eventual use as Vite's bundler.

  • Rollup-compatible API surface
  • Rollup-style plugin interface
  • Rust implementation core
RustDetails →
★ 14.2k⟳ todayMIT