feat(example): fix circleci error
This commit is contained in:
parent
4c54bd5f2f
commit
1f29ffb023
@ -27,4 +27,5 @@ module.exports = {
|
||||
),
|
||||
]),
|
||||
},
|
||||
maxWorkers: 2,
|
||||
};
|
||||
|
||||
@ -1,27 +0,0 @@
|
||||
/**
|
||||
* This file overrides metro config so
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
const blacklist = require('metro-config/src/defaults/blacklist');
|
||||
|
||||
const reactNativeCameraRoot = path.resolve(__dirname, '..', '..');
|
||||
|
||||
module.exports = {
|
||||
transformer: {
|
||||
getTransformOptions: async () => ({
|
||||
transform: {
|
||||
experimentalImportSupport: false,
|
||||
inlineRequires: false,
|
||||
},
|
||||
}),
|
||||
},
|
||||
watchFolders: [path.resolve(__dirname, 'node_modules'), reactNativeCameraRoot],
|
||||
resolver: {
|
||||
blacklistRE: blacklist([
|
||||
new RegExp(`${reactNativeCameraRoot}/examples/mlkit/.*`),
|
||||
new RegExp(`${reactNativeCameraRoot}/node_modules/react-native/.*`),
|
||||
]),
|
||||
},
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user