Preprocess Loader
JSON →A webpack loader that uses the preprocess library to conditionally include or exclude code in HTML, JavaScript, CoffeeScript, and other module files based on custom or environment configurations. Version 0.3.0 is the latest stable release (the project appears inactive since 2017). It supports Webpack 1 and 2+ and allows overriding preprocess options via the `ppOptions` query parameter. Similar to gulp-preprocess, it provides directive syntax for conditional compilation (@if, @ifdef, @echo, @include). The loader is typically placed before other loaders in a chain to preprocess files before they are transpiled.
Traffic · last 30 days ↓25% vs prev 7d
total hits 23
actors 7 distinct systems
last hit 2d ago Bingbot
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · BD · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/preprocess-loader
compatibility /v1/registry/preprocess-loader/compatibility