mirror of https://github.com/status-im/metro.git
Allow user to configure transformer through cl argument
Reviewed By: frantic Differential Revision: D2547435 fb-gh-sync-id: 77016ee5beba854a4cb58e9ac04b91a7dd76cf3e
This commit is contained in:
parent
897c651fbe
commit
aff65ba875
|
@ -21,10 +21,6 @@ module.exports = {
|
||||||
return blacklist('');
|
return blacklist('');
|
||||||
},
|
},
|
||||||
|
|
||||||
getTransformModulePath() {
|
|
||||||
return require.resolve('./transformer');
|
|
||||||
},
|
|
||||||
|
|
||||||
_getRoots() {
|
_getRoots() {
|
||||||
// match on either path separator
|
// match on either path separator
|
||||||
if (__dirname.match(/node_modules[\/\\]react-native[\/\\]packager$/)) {
|
if (__dirname.match(/node_modules[\/\\]react-native[\/\\]packager$/)) {
|
||||||
|
|
Loading…
Reference in New Issue