Regression: [email protected] build keeps undefined $7f9d4f94f3d938e3$re_export$bool
for ESM
#8705
Labels
$7f9d4f94f3d938e3$re_export$bool
for ESM
#8705
🐛 bug report
When I build my project using
parcel build
the output file includes an undefined identifier$7f9d4f94f3d938e3$re_export$bool
. Trying to actually use it results in error.This error only started appearing after #8624 was fixed.
🎛 Configuration (.babelrc, package.json, cli command)
The parcel configuration of the project is pretty basic
🤔 Expected Behavior
When optimizing the code parcel should not remove declarations of constants that are used in the code.
😯 Current Behavior
The code includes the line
e(aA,"bool",(()=>$7f9d4f94f3d938e3$re_export$bool)),..
and$7f9d4f94f3d938e3$re_export$bool
is not defined anywhere, resulting in runtime errors.💁 Possible Solution
Stay on [email protected] for now?
🔦 Context
I was trying to upgrade a project to use the [email protected] and will not do this now.
💻 Code Sample
The parcel update PR in my project and it’s deployed version.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: