first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
module.exports = {
|
||||
presets: ['module:@react-native/babel-preset'],
|
||||
plugins: [
|
||||
[
|
||||
'babel-plugin-module-resolver',
|
||||
{
|
||||
root: ['./src'],
|
||||
extensions: [
|
||||
'.ios.js',
|
||||
'.android.js',
|
||||
'.js',
|
||||
'.jsx',
|
||||
'.ts',
|
||||
'.tsx',
|
||||
'.json',
|
||||
],
|
||||
alias: {
|
||||
crypto: 'react-native-quick-crypto',
|
||||
stream: 'readable-stream',
|
||||
buffer: '@craftzdog/react-native-buffer',
|
||||
},
|
||||
},
|
||||
],
|
||||
[
|
||||
'react-native-reanimated/plugin',
|
||||
{
|
||||
processNestedWorklets: true,
|
||||
globals: ['__scanImage', '__labelImage'],
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user