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 think this is very similar to #9676, but I'm not 100% sure if it's the same (different error message, different versions etc) and I want to make a clean issue with a simple reproduction.
I've recently upgraded react-datepicker, which depends on date-fns. This issue is breaking the build for me, and I can't easily replace react-datepicker right now.
The --no-scope-hoist fix is not really an option I'd say. For now, I can hold back the upgrade, but if I don't find another solution, I might need to switch to another bundler -- at least for production.
🌍 Your Environment
Software
Version(s)
Parcel
2.13.3
Node
20.18.3
npm/Yarn
yarn 1.22.19
Operating System
Ubuntu
The text was updated successfully, but these errors were encountered:
I think this is very similar to #9676, but I'm not 100% sure if it's the same (different error message, different versions etc) and I want to make a clean issue with a simple reproduction.
🐛 bug report
Building this in watch mode with
parcel test.js
works, but runningparcel build test.js
will result in this error:Adding
--no-scope-hoist
makes it work again, but that's quite a big thing.🎛 Configuration (.babelrc, package.json, cli command)
Here's the
package.json
:🔦 Context
I've recently upgraded
react-datepicker
, which depends ondate-fns
. This issue is breaking the build for me, and I can't easily replace react-datepicker right now.The
--no-scope-hoist
fix is not really an option I'd say. For now, I can hold back the upgrade, but if I don't find another solution, I might need to switch to another bundler -- at least for production.🌍 Your Environment
The text was updated successfully, but these errors were encountered: