Don't bundle react-native dependencies
Summary: Make sure that `.native.js` modules resolutions are _NOT_ prefered over `.js` modules when building flipper or flipper plugins Reviewed By: jknoxville Differential Revision: D18297580 fbshipit-source-id: 73f9114d19eb0934cdf69d9668b582966aedc756
This commit is contained in:
committed by
Facebook Github Bot
parent
71573257ae
commit
6e69d20917
@@ -210,7 +210,7 @@ async function compilePlugin(
|
||||
},
|
||||
resolver: {
|
||||
sourceExts: ['tsx', 'ts', 'js'],
|
||||
blacklistRE: /\/(sonar|flipper-public)\/dist\//,
|
||||
blacklistRE: /\/(sonar|flipper-public)\/dist\/|(\.native\.js$)/,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user