{"library":"apply-loader","type":"library","category":null,"description":"Webpack loader that executes an exported JavaScript function (default or module.exports) with optional arguments and returns the exported value. Current stable version 2.0.0, maintained as of last release. Unlike conventional loaders that transform source code, it invokes the target module as a factory function. Supports both webpack 1 and 2 configuration syntax.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","webpack","loader","apply"],"last_verified":"Wed May 27","install":[{"cmd":"npm install apply-loader","imports":["const apply = require('apply-loader');","{ test: /\\.js$/, loader: 'apply-loader?args[]=1' }","{ test: /\\.js$/, use: { loader: 'apply-loader', options: { args: [1] } } }"]},{"cmd":"yarn add apply-loader","imports":[]},{"cmd":"pnpm add apply-loader","imports":[]}],"homepage":null,"github":"https://github.com/mogelbrod/apply-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/apply-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/apply-loader/compatibility"}}