File tree 2 files changed +7
-3
lines changed 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 18
18
Install the plugin
19
19
20
20
```
21
- $ npm install --save-dev babel-plugin-module-resolver
21
+ npm install --save-dev babel-plugin-module-resolver
22
+ ```
23
+ or
24
+ ```
25
+ yarn add --dev babel-plugin-module-resolver
22
26
```
23
27
24
28
Specify the plugin in your ` .babelrc ` with the custom root or alias. Here's an example:
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ const MyUtilFn = require('../../../../utils/MyUtilFn');
25
25
Install the plugin
26
26
27
27
```
28
- $ npm install --save-dev babel-plugin-module-resolver
28
+ npm install --save-dev babel-plugin-module-resolver
29
29
```
30
30
or
31
31
```
32
- $ yarn add --dev babel-plugin-module-resolver
32
+ yarn add --dev babel-plugin-module-resolver
33
33
```
34
34
35
35
Specify the plugin in your ` .babelrc ` with the custom root or alias. Here's an example:
You can’t perform that action at this time.
0 commit comments