Files
minibits_wallet/babel.config.js
minibits-cash a35168f945 Remove hot-updater/babel-plugin from babel config (gone in 0.32.0)
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>
2026-06-01 14:29:30 +02:00

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',
],
};