🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

require-context.macro

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

require-context.macro

A Babel Macro for the require-context plugin

1.0.1
Source
npm
Version published
Weekly downloads
46K
-14.67%
Maintainers
1
Weekly downloads
 
Created
Source

require-context.macro

A macro needed for some advanced Storybook setups

Babel Macro

Credit to the original plugin.

Usage

Ensure you have babel-plugin-macros installed within your project. Afterwards, simply import this function and call it in place of require.context().

Keywords

babel

FAQs

Package last updated on 17 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts