|
1 | | -import { resolve } from 'path'; |
| 1 | +import { NodePath, Visitor } from '@babel/core'; |
2 | 2 | import { declare } from '@babel/helper-plugin-utils'; |
3 | | -import handleFactoryCalls from './factories'; |
4 | | -import handleResolveCall from './resolve'; |
5 | | -import handleResolveWithCall from './resolveWith'; |
| 3 | +import { resolve } from 'path'; |
6 | 4 | import handleAliasCall from './alias'; |
| 5 | +import handleClearCache from './clearCache'; |
7 | 6 | import handleEncaseCall from './encase'; |
| 7 | +import handleFactoryCalls from './factories'; |
8 | 8 | import handleInferCall from './infer'; |
9 | 9 | import handleRawCall from './raw'; |
10 | | -import handleUseResolve from './useResolve'; |
11 | | -import handleClearCache from './clearCache'; |
12 | | -import { Visitor, NodePath } from '@babel/core'; |
| 10 | +import handleResolveCall from './resolve'; |
| 11 | +import handleResolveWithCall from './resolveWith'; |
| 12 | +import reactJpex from './react-jpex'; |
13 | 13 |
|
14 | 14 | declare const require: any; |
15 | 15 | declare const process: any; |
@@ -53,7 +53,7 @@ const mainVisitor: Visitor<{ |
53 | 53 | handleInferCall(programPath, path, opts); |
54 | 54 | handleRawCall(programPath, path, opts); |
55 | 55 | handleClearCache(programPath, path, opts); |
56 | | - handleUseResolve(programPath, path, opts); |
| 56 | + reactJpex(programPath, path, opts); |
57 | 57 | }, |
58 | 58 | }; |
59 | 59 |
|
|
0 commit comments