-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chips package relies on classnames 2.2.6 but depends on ^2.2.5 #703
Comments
It occurs to me that instead of upgrading classnames package, we should the |
TLDR;
RE classnames:
RE importing esmodules:
Since
In other cases where we import modules that do not use
|
@moog16 You should be able to get around that issue by using |
@dawsonc623 I agree this would work however our findings from MDC Web bloat our UMD packages. I realize we do not have I eventually want to deprecate the .ts files and use ESM .js files imported from |
This was originally reported by kittie on discord.
We are relying on the existence of a default export in
classnames
inChipSet.tsx
, but the default export was only added in classnames 2.2.6, whereas our package.json lists 2.2.5. If someone somehow installs 2.2.5, they will get an error like this:This likely flew under the radar as we have no package-lock for chips specifically, and the main package-lock is locked to 2.2.6.
The text was updated successfully, but these errors were encountered: