You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2023. It is now read-only.
Credit to [the original plugin](https://github.com/smrq/babel-plugin-require-context-hook/).
8
8
9
9
## Usage
10
10
11
-
Ensure you have `babel-plugin-macros` installed within your project. Afterwards, simply import this function and call it in place of `require.context()`.
11
+
Ensure you have `babel-plugin-macros` installed within your project.
12
+
13
+
`yarn add -D babel-plugin-macros`
14
+
15
+
Then install this specific macro
16
+
17
+
`yarn add -D require-context.macro`
18
+
19
+
Afterwards, simply import this function and call it in place of `require.context()` inside
0 commit comments