8 Forks
49 Stars
49 Watchers

require-context.macro

🖇 A Babel macro needed for some advanced Storybook setups. Used to mock webpack's context function in test environments.

How to download and setup require-context.macro

Open terminal and run command
git clone https://github.com/storybookjs/require-context.macro.git
git clone is used to create a copy or clone of require-context.macro repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with require-context.macro https://github.com/storybookjs/require-context.macro/archive/master.zip

Or simply clone require-context.macro with SSH
[email protected]:storybookjs/require-context.macro.git

If you have some problems with require-context.macro

You may open issue on require-context.macro support forum (system) here: https://github.com/storybookjs/require-context.macro/issues