{"library":"babel-plugin-require-context-hook-babel7","type":"library","category":null,"description":"A Babel plugin that replicates Webpack's `require.context` functionality for use with `babel-register`. Version 1.0.0 is stable; the plugin rewrites `require.context()` calls to use a global polyfill that must be registered at runtime via `require('babel-plugin-require-context-hook/register')()`. It depends on `@babel/core ^7.2.2`. This is a minimal, focused alternative to full Webpack configurations for projects needing dynamic require in Node.js.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","babel","webpack"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-require-context-hook-babel7","imports":["require('babel-plugin-require-context-hook/register')()","require.context(directory, useSubdirectories, regExp)","\"plugins\": [\"require-context-hook\"]"]},{"cmd":"yarn add babel-plugin-require-context-hook-babel7","imports":[]},{"cmd":"pnpm add babel-plugin-require-context-hook-babel7","imports":[]}],"homepage":null,"github":"https://github.com/smrq/babel-plugin-require-context-hook","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-require-context-hook-babel7","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/babel-plugin-require-context-hook-babel7/compatibility"}}