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