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
Ever since version 13.9.0, my project refuses to build in webpack when I try import compromise. I get the following ambiguous message: Module not found: Error: Default condition should be last one
The stack trace was pretty useless, so I needed to track down the issue manually. It seems that webpack does not like the default export condition order.
Ever since version 13.9.0, my project refuses to build in webpack when I try import
compromise
. I get the following ambiguous message:Module not found: Error: Default condition should be last one
The stack trace was pretty useless, so I needed to track down the issue manually. It seems that webpack does not like the
default
export condition order.compromise/package.json
Lines 12 to 21 in bd7929c
According to webpack, the default case should be last... beats me 🤷♂️
If i change the export group so that default is last like so, webpack is happy...
The text was updated successfully, but these errors were encountered: