v1.2.0
Features
-
Add named
clsx
export alias (#43, #44): 56ab81f
Thank you @danikaze~!
This is purely an alias for the default export so that TypeScript users can avoid theesModuleInterop
setting. In other words, the followimport
statements are effectively identical, but the latter is preferred by TypeScript:import clsx from 'clsx'; // or import { clsx } from 'clsx';
Important: Just to reiterate, both still work!
Chores
- Migrate from
tape
touvu
for tests: 1c36d10 - Add Node 14 and Node 16 to CI test matrix: bc4f827
- Update "string variadic" tests (#30): 74cefa6
Thank you @gingerrific~! - Enable GitHub Sponsors button: 400b848
Full Changelog: v1.1.1...v1.2.0