Preprocess Loader

JSON →
library 0.3.0 ·javascript maintenance
verified May 27, 2026

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.

total hits 23
actors 7 distinct systems
last hit 2d ago Bingbot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
6

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · BD · 🇸🇬 Singapore