Error hermesEnabled on Android
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
Sorry, can`t reopen old issue https://github.com/callstack/haul/issues/714
## Environment
"@haul-bundler/babel-preset-react-native": "0.16.0",
"@haul-bundler/cli": "0.18.0",
"@haul-bundler/core": "0.18.0",
"@haul-bundler/preset-0.60": "0.18.0",
"react-native": "0.61.5",
## Description
When turn on hermes on android, bundle dont work.
Hermes enabled, but it only helps to remove line from defaultConfig in preset-0.60
exclude: /node_modules(?!.*[\/\\](react|@react-navigation|@react-native-community|@expo|pretty-format|@haul-bundler|metro))/,
Haul config:
export default makeConfig({
bundles: {
index: {
entry: withPolyfills("./src/mobile/index"),
},
},
})
babel config:
module.exports = function(api) {
api.cache.using(() => process.env.BABEL_ENV)
return {
presets: [
["module:@haul-bundler/babel-preset-react-native", {hermes: true}],
],
}
}
## Reproducible Demo

Contributor guide
Assessment
This issue has not been assessed yet.