babel-plugin-optimize-clsx
Advanced tools
Changelog
2.6.0 (2020-02-15)
Changelog
2.5.0 (2019-10-07)
Changelog
2.4.0 (2019-08-18)
Changelog
2.3.0 (2019-07-18)
Changelog
2.2.0 (2019-05-31)
Changelog
2.0.0 (2019-05-21)
clsx
and classnames
function calls, instead looks for imports(and require) and uses the names specified there. If the file doesn't contain imports nothing will be done, to get the old behaviour back you can set the functionNames
option to ['clsx', 'classnames']