Skip to content

fix: update classnames library which has default export type#939

Merged
mergify[bot] merged 1 commit intoui-router:masterfrom
christopherthielen:classnames
Jul 22, 2021
Merged

fix: update classnames library which has default export type#939
mergify[bot] merged 1 commit intoui-router:masterfrom
christopherthielen:classnames

Conversation

@christopherthielen
Copy link
Copy Markdown
Member

@christopherthielen christopherthielen commented Jul 22, 2021

This supersedes #937 and addresses #33

When we transpile typescript to javascript, typescript leaves the import * as classnames from 'classnames' syntax in ESM. This caused problems for certain toolchains that ingested the ESM files from /lib-esm from NPM. This change uses default import, and a newer version of classnames which has typescript defs with an actual default export.

@ranihorev
Copy link
Copy Markdown

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants