You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is because we're using @babel/preset-modules for the modern builds, which does not currently include stage-4 transforms like Nullish Coalescing and Optional Chaining. We need to switch to @babel/preset-env now that it has the bugfixes:true option.
FWIW --no-compress is just passing through the optional chaining syntax, which is definitely not something most folks would be expecting to find in an npm package. For now you could enable it by adding a .babelrc containing the following:
Running
microbundle --jsx React.createElement
will break on the following component unless--no-compress
is passedThe text was updated successfully, but these errors were encountered: