Skip to content

Commit 9a85f2d

Browse files
committed
Fixed compilation error with new @react-native-community libs
See callstack/haul#524
1 parent 32abf64 commit 9a85f2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/haul.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default {
88
entry: getEntryPoint(),
99
})(env);
1010

11+
config.module.rules[1].exclude = /node_modules(?!.*[\/\\](react|@react-navigation|@react-native-community|@expo|pretty-format|haul|metro))/;
1112
config.plugins.push(new Visualizer());
1213

1314
return config;

0 commit comments

Comments
 (0)