12 lines
231 B
JavaScript
12 lines
231 B
JavaScript
|
let metroBundler;
|
||
|
try {
|
||
|
metroBundler = require('metro');
|
||
|
} catch (ex) {
|
||
|
metroBundler = require('metro-bundler');
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
getBlacklistRE: function() {
|
||
|
return metroBundler.createBlacklist([/test\/.*/]);
|
||
|
}
|
||
|
};
|