mirror of
https://github.com/status-im/react-native.git
synced 2025-01-19 14:02:10 +00:00
144f8598c2
Summary: @public We're rolling out a replacement for `local-cli`. As part of the process we moved many hardcoded values into a JS based configuration file. Reviewed By: @vjeux Differential Revision: D2533111 fb-gh-sync-id: 7250bddee9989b089ded409104e098ef15d79498
28 lines
459 B
JavaScript
28 lines
459 B
JavaScript
'use strict';
|
|
|
|
var blacklist = require('./node_modules/react-native/packager/blacklist');
|
|
|
|
var config = {
|
|
getProjectRoots() {
|
|
return this._getRoots();
|
|
},
|
|
|
|
getAssetRoots() {
|
|
return this._getRoots();
|
|
},
|
|
|
|
getBlacklistRE() {
|
|
return blacklist('');
|
|
},
|
|
|
|
getTransformModulePath() {
|
|
return require.resolve('./node_modules/react-native/packager/transformer');
|
|
},
|
|
|
|
_getRoots() {
|
|
return [__dirname];
|
|
}
|
|
};
|
|
|
|
module.exports = config;
|