babel-plugin-optimize-clsx icon indicating copy to clipboard operation
babel-plugin-optimize-clsx copied to clipboard

Babel plugin to optimize the use of clsx, classnames, and other libraries with a compatible API

Results 3 babel-plugin-optimize-clsx issues
Sort by recently updated
recently updated
newest added

Hi @merceyz thanks for this plugin. I was wonder if it possible to support Tagged template literals. Here an example with `cslx`: ```js const classes = clsx`bg-white text-gray-800`; const multiline...

Closes: https://github.com/merceyz/babel-plugin-optimize-clsx/issues/22 I have migrated to the latest version of `clsx` and including the new lite module to lower the bundle size. I've ran the tests and went through the...

See for why https://twitter.com/lukeed05/status/1740841680364773646 It would help reduce the bundle size on Material UI's side: https://github.com/mui/material-ui/issues/40366. cc @lukeed