Open mmomtchev opened 2 years ago
I was able to narrow the problem to that fact that my module has type: "module"
and I was able to reproduce the problem outside of snackager with raw webpack and presets: [ 'module:metro-react-native-babel-preset']
Summary
My module exports a
main
and amodule
with themodule
using ES6 syntax which makes Babel to insert a couple of helpers:What platform(s) does this occur on?
Web
SDK Version
v44.0.0
Reproducible demo or steps to reproduce from a blank project
https://snack.expo.dev/@mmomtchev/@mmomtchev-react-native-settings