Registry / devops / transform-loader

transform-loader

JSON →
library0.2.4jsnpmunverified

Webpack loader that allows using browserify transforms in webpack builds. Version 0.2.4 is the latest stable release (last updated 2017). It enables reuse of existing browserify transform modules (like brfs, coffeeify) within webpack's loader pipeline. Key differentiator: bridges browserify ecosystem transforms to webpack without manual porting. Supports webpack 1.x and 2.x but is not actively maintained.

devops
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Loader is typically used in webpack config as string reference, not directly imported in code.

import transformLoader from 'transform-loader'

Use the subpath '/cacheable' to enable caching, not a query parameter.

import 'transform-loader/cacheable'

Loader is configured via webpack config with query string; no direct import needed.

module.exports = { module: { rules: [{ test: /\.js$/, loader: 'transform-loader?brfs' }] } }

Configures webpack to use the brfs browserify transform via transform-loader on all JavaScript files.

// webpack.config.js module.exports = { context: __dirname, entry: './index.js', module: { loaders: [ { test: /\.js$/, loader: 'transform-loader?brfs' } ] } };
Debug
Known footguns
deprecatedtransform-loader uses deprecated loader API in webpack 2+
gotchaCacheable variant must be imported as subpath '/cacheable' not as query parameter
breakingWebpack 5 removed LoaderOptionsPlugin, breaking configs using plugin transform index
gotchaApplied to all files in default config, causing performance degradation in watch mode
deprecatedProject last updated in 2017; no webpack 5 support
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
13 hits · last 30 days
gptbot
4
ahrefsbot
4
amazonbot
4
script
1
Resources