clsx is not a function
FO
FOSSgeek opened ·
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
- FO
im getting this error when using the build folder in create-react-app
- LU
this will have to do with build/bundler config. is not a clsx issue