mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 21:53:30 +00:00
Fix eslint errors and warnings in preprocessor.js
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/20632 Differential Revision: D9367291 Pulled By: hramos fbshipit-source-id: bdb823db132dcbb07ad02389a3246e5314de2b17
This commit is contained in:
parent
123dac252a
commit
88be0cefac
@ -23,7 +23,7 @@ const babelRegisterOnly = require('metro-babel-register');
|
||||
const createCacheKeyFunction = require('fbjs-scripts/jest/createCacheKeyFunction');
|
||||
const generate = require('@babel/generator').default;
|
||||
|
||||
const nodeFiles = RegExp(
|
||||
const nodeFiles = new RegExp(
|
||||
[
|
||||
'/local-cli/',
|
||||
'/metro(?:-[^/]*)?/', // metro, metro-core, metro-source-map, metro-etc
|
||||
|
Loading…
x
Reference in New Issue
Block a user