Closed FOSSgeek closed 1 year ago
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
im getting this error when using the build folder in create-react-app
this will have to do with build/bundler config. is not a clsx issue
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