@@ -11,7 +11,7 @@ const path = require('path');
11
11
const pkg = require ( './package.json' ) ;
12
12
const baseConfig = require ( '../base/metro.config' ) ;
13
13
const _ = require ( 'lodash' ) ;
14
- const { useLocalReanimatedModule, reanimatedLocalPath , useBaseImplementation, resolveReanimatedPath, resolveGestureHandlerPath, logInfo } = require ( './example.config' ) ;
14
+ const { useLocalReanimatedModule, useBaseImplementation, resolveReanimatedPath, resolveGestureHandlerPath, logInfo } = require ( './example.config' ) ;
15
15
16
16
const watchFolders = [ path . resolve ( __dirname , '..' ) ] ;
17
17
const blacklisters = [ ] ; //path.resolve(__dirname, '../node_modules'),
@@ -27,16 +27,16 @@ if (useBaseImplementation) {
27
27
path . resolve ( __dirname , 'node_modules' , REANIMATED ) ,
28
28
) ;
29
29
} else if ( useLocalReanimatedModule ) {
30
- watchFolders . push ( path . resolve ( __dirname , '..' , '..' , REANIMATED ) ) ;
30
+ watchFolders . push ( resolveReanimatedPath ( ) ) ;
31
31
blacklisters . concat (
32
- path . resolve ( __dirname , '..' , '..' , REANIMATED , 'node_modules' ) ,
33
- path . resolve ( __dirname , '..' , '..' , REANIMATED , 'Example' )
32
+ path . resolve ( resolveReanimatedPath ( ) , 'node_modules' ) ,
33
+ path . resolve ( resolveReanimatedPath ( ) , 'Example' )
34
34
) ;
35
35
}
36
36
37
37
const config = {
38
38
resolver : {
39
- blacklistRE : blacklist ( blacklisters ) ,
39
+ // blacklistRE: blacklist(blacklisters),
40
40
extraNodeModules
41
41
} ,
42
42
watchFolders,
0 commit comments