Regression: parcel@2.8.1 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 parcel@2.7.0 for now?
馃敠 Context
I was trying to upgrade a project to use the parcel@2.8.1 and will not do this now.
馃捇 Code Sample
The parcel update PR in my project and it鈥檚 deployed version.
馃實 Your Environment
The text was updated successfully, but these errors were encountered: