mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-07-22 07:48:28 +00:00
0.32.0 no longer exports ./babel-plugin (the package now only exports the config entry), which broke the build with ERR_PACKAGE_PATH_NOT_EXPORTED. The plugin's only job was replacing the __HOT_UPDATER_BUNDLE_ID build-time constant; the 0.32.0 client reads the bundle ID from the native module (getBundleId()) instead, so no babel plugin is required. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
487 B
JavaScript
19 lines
487 B
JavaScript
module.exports = {
|
|
presets: ['module:@react-native/babel-preset'],
|
|
plugins: [
|
|
[
|
|
'module-resolver',
|
|
{
|
|
alias: {
|
|
'crypto': 'react-native-quick-crypto',
|
|
'stream': 'stream-browserify',
|
|
'buffer': '@craftzdog/react-native-buffer',
|
|
},
|
|
},
|
|
],
|
|
['module:react-native-dotenv'],
|
|
'react-native-worklets/plugin',
|
|
'@babel/plugin-proposal-export-namespace-from',
|
|
],
|
|
};
|