Registry / web-framework / ify-loader

ify-loader

JSON →
library1.1.0jsnpmunverified

Webpack loader that automatically applies browserify transforms to dependencies via package.json browserify.transform field. Version 1.1.0 is the latest release; the project is in experimental/stable state with low release cadence. Unlike transform-loader, ify-loader reads transforms from each dependency's package.json, eliminating manual configuration for each transform in complex projects. Specifically aimed at Webpack users migrating from browserify or maintaining hybrid projects that rely on browserify transforms in node_modules.

npm install ify-loader
INSTALL
IMPORT
SIG · IFY-LOADER
I
ify-loader
web-frameworkjavascriptv1.1.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
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.

ify-loader
loader: 'ify-loader'
loader: require.resolve('ify-loader')
Used in webpack config, not imported in source code.

Webpack configuration applying ify-loader to node_modules and your project, with package.json browserify.transform example.

// webpack.config.js module.exports = { module: { loaders: [ // Apply to all dependencies in node_modules { test: /node_modules/, loader: 'ify-loader' }, // Or apply to your own source to pick up local browserify transforms { test: /\.js$/, loader: 'ify-loader', enforce: 'post' } ] } }; // package.json (in your project or a dependency) { "browserify": { "transform": ["glslify", "brfs"] } }
Debug
Known issues
gotchaAdding ify-loader without 'enforce: post' may cause conflicts with other loaders that transform source files.
fix
Use 'enforce: post' when applying to your own project's .js files.
affects: >=1.0.0
gotchaify-loader only works with Webpack 1.x loaders syntax (module.loaders). Not compatible with Webpack 2+ module.rules.
fix
If using Webpack 2+, consider using a different loader or manually converting to rule syntax.
affects: >=1.0.0
deprecatedify-loader uses experimental stability badge; no major updates since initial release. May not support newer Webpack or Node.js versions.
fix
Test with your target Webpack/Node versions; consider alternatives if issues arise.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'ify-loader'
ify-loader not installed in the project where webpack runs.
fix
Run npm install --save-dev ify-loader in the project root.
Module build failed: TypeError: loaderUtils.parseQuery is not a function
Webpack 4+ removed loaderUtils.parseQuery; ify-loader uses older API.
fix
Downgrade to Webpack 3 or use a wrapper that polyfills loader-utils.
Invalid configuration object. configuration.module has an unknown property 'loaders'.
Webpack 2+ uses module.rules, not module.loaders.
fix
Change to module.rules and adjust syntax: { test: /node_modules/, use: ['ify-loader'] }.
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies
loader-utilsrequiredWebpack loader utility for query parameters
Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
ify-loader — npm install ify-loader · libregistry