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
If I build the project without --experimental-scope-hoisting, everything works as expected. But with the option on, when serving the site, I am getting
In the browser console and a blank page.
😯 Current Behavior
It should render a page with "Hello React!" and no js error.
This is due to a missing __esModule flag that babel uses for interop between common JS and ES6 modules. I made a commit to the Parcel 2 tree shaking branch that fixes this: ab98afe. Will need to be back ported.
Choose one: a 🐛 bug report
🎛 Configuration (.babelrc, package.json, cli command)
Please see https://gist.github.com/midnightcodr/fbcfc63ab80951b3f13b330b0ec1f406
🤔 Expected Behavior
If I build the project without --experimental-scope-hoisting, everything works as expected. But with the option on, when serving the site, I am getting
In the browser console and a blank page.
😯 Current Behavior
It should render a page with "Hello React!" and no js error.
💁 Possible Solution
🔦 Context
💻 Code Sample
Please see https://gist.github.com/midnightcodr/fbcfc63ab80951b3f13b330b0ec1f406
🌍 Your Environment
The text was updated successfully, but these errors were encountered: