lukeed / clsx

A tiny (239B) utility for constructing `className` strings conditionally.
MIT License
8.28k stars 143 forks source link

fix: typo module path #9

Closed rohmanhm closed 5 years ago

lukeed commented 5 years ago

Hey, thank you.

Unfortunately this isn't a typo. I'd very happily use .mjs but webpack insists on mishandling the extension, which means that 99.9% of everyone who uses webpack with default (or minimum config) will see clsx as problem 😭

See 29b2fcea29e290d57b54ca0f5cac37fd0fcb7e70 and #7 for a little more info