lukeed/clsxPublic

A tiny (239B) utility for constructing `className` strings conditionally.

clsx is not a function

FO

im building my library and i get this error 'clsx is not a function' i tried to fix it on all ways but no luck, the folder for build is : https://github.com/FOSSgeek/Excelente/tree/main/packages/components/button

note to build run npm build, and the rollup.config.js is the same but in line 14 i change esm to cjs on my local pc

  1. FO
    Author

    im getting this error when using the build folder in create-react-app

  2. LU

    this will have to do with build/bundler config. is not a clsx issue

  3. lukeedclosed3 years ago on GitHub