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
Parcel breaks code where a property on an object is accessed that has the same name as an enclosing function. In that case the property name is transformed to something like $b5397e630a15ea24$export$6a5cdcad01c973fa.
馃悰 bug report
Parcel breaks code where a property on an object is accessed that has the same name as an enclosing function. In that case the property name is transformed to something like
$b5397e630a15ea24$export$6a5cdcad01c973fa
.馃帥 Configuration (.babelrc, package.json, cli command)
Please see attached .zip file
馃 Expected Behavior
!async function(){console.log({foo:"123"}?.foo)}();
-> logs "123" when ran馃槸 Current Behavior
!async function(){console.log({foo:"123"}?.$38da3cfda514bd25$export$6a5cdcad01c973fa)}();
-> logsundefined
when ran馃拋 Possible Solution
Make so that the property name no longer gets replaced
馃敠 Context
Our code stopped working. Turns out this is why. Kudos to @carltheperson for debugging.
馃捇 Code Sample
parcel-broken-code.zip
run
yarn install
and thenyarn build
馃實 Your Environment
The text was updated successfully, but these errors were encountered: