react-native/local-cli/generator/templates/rn-cli.config.js

25 lines
448 B
JavaScript

'use strict';
var blacklist = require('./node_modules/react-native/packager/blacklist');
var config = {
getProjectRoots() {
return [__dirname];
},
getAssetRoots() {
// speficy where to look for assets
return [];
},
getBlacklistRE(platform) {
return blacklist(platform);
},
getTransformModulePath() {
return require.resolve('./node_modules/react-native/packager/transformer');
}
};
module.exports = config;