Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan committed Dec 20, 2024
1 parent e86e033 commit 0ba4c1c
Show file tree
Hide file tree
Showing 5 changed files with 3,037 additions and 4,824 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const { nodeModulesPolyfillPlugin } = require("esbuild-plugins-node-modules-polyfill");
const reactNativeReactBridgeTransformer = require("react-native-react-bridge/lib/plugin");
const esbuildOptions = {
plugins: [
nodeModulesPolyfillPlugin({
globals: {
Buffer: true,
crypto: true,
},
// modules: {
// Buffer : true,
// }
}),
],
};
module.exports.transform = function ({ src, filename, options }) {
const transform = reactNativeReactBridgeTransformer.createTransformer(esbuildOptions);
return transform({ src, filename, options });
};
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PODS:
- DoubleConversion (1.1.6)
- EXConstants (16.0.2):
- ExpoModulesCore
- Expo (51.0.34):
- Expo (51.0.39):
- ExpoModulesCore
- ExpoAsset (10.0.10):
- ExpoModulesCore
Expand All @@ -21,7 +21,7 @@ PODS:
- ExpoModulesCore
- ExpoKeepAwake (13.0.2):
- ExpoModulesCore
- ExpoModulesCore (1.12.24):
- ExpoModulesCore (1.12.26):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -982,7 +982,7 @@ PODS:
- React-Mapbuffer (0.74.5):
- glog
- React-debug
- react-native-quick-crypto (0.7.5):
- react-native-quick-crypto (0.7.10):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -1475,12 +1475,12 @@ SPEC CHECKSUMS:
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
EXConstants: 409690fbfd5afea964e5e9d6c4eb2c2b59222c59
Expo: 963ef4ae102e4f4ac114a8510d70127c44adffbf
Expo: 8c995afb875c15bf8439af0b20bcb9ed8f90d0bd
ExpoAsset: 323700f291684f110fb55f0d4022a3362ea9f875
ExpoFileSystem: 80bfe850b1f9922c16905822ecbf97acd711dc51
ExpoFont: 00756e6c796d8f7ee8d211e29c8b619e75cbf238
ExpoKeepAwake: 3b8815d9dd1d419ee474df004021c69fdd316d08
ExpoModulesCore: f30a203ff1863bab3dd9f4421e7fc1564797f18a
ExpoModulesCore: 831ece8311a489418746925820bbffdda587d6f4
ExpoSecureStore: 060cebcb956b80ddae09821610ac1aa9e1ac74cd
FBLazyVector: ac12dc084d1c8ec4cc4d7b3cf1b0ebda6dab85af
fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120
Expand Down Expand Up @@ -1512,7 +1512,7 @@ SPEC CHECKSUMS:
React-jsitracing: 3b6060bbf5317663667e1dd93560c7943ab86ccc
React-logger: 257858bd55f3a4e1bc0cf07ddc8fb9faba6f8c7c
React-Mapbuffer: 6c1cacdbf40b531f549eba249e531a7d0bfd8e7f
react-native-quick-crypto: 7085e4e4607e7e8fa57f4193f994d5262d351e45
react-native-quick-crypto: ed672a726b7c7508bb4f54f5fffd498eae87ce4a
react-native-webview: 05bae3a03a1e4f59568dfc05286c0ebf8954106c
React-nativeconfig: ba9a2e54e2f0882cf7882698825052793ed4c851
React-NativeModulesApple: 8d11ff8955181540585c944cf48e9e7236952697
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { getDefaultConfig } = require("expo/metro-config");
/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname);

config.transformer.babelTransformerPath = require.resolve("react-native-react-bridge/lib/plugin");
config.transformer.babelTransformerPath = require.resolve('./customTransformer.js')
config.resolver.extraNodeModules = {
...config.resolver.extraNodeModules,

Expand Down
Loading

0 comments on commit 0ba4c1c

Please sign in to comment.