{"library":"preprocess-loader","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"0.3.0","tags":["javascript"],"install":[{"cmd":"npm install preprocess-loader","imports":["import PreprocessLoader from 'preprocess-loader'","module.exports = { module: { rules: [ { test: /\\.js$/, use: 'preprocess-loader?+DEBUG' } ] } }","use: [ { loader: 'preprocess-loader', options: { DEBUG: true, NODE_ENV: 'production' } } ]"]},{"cmd":"yarn add preprocess-loader","imports":[]},{"cmd":"pnpm add preprocess-loader","imports":[]}],"homepage":null,"github":"https://github.com/dearrrfish/preprocess-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/preprocess-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/preprocess-loader/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}