Search code examples
javascriptreactjstailwind-cssvitetailwind-3

Build is not working in react using vite bundler


enter image description here

I use web-pack before and wanted to change it to vite I copied all the file from the web-pack version to the vite version when I issue yarn dev it work but we I build it and run the build with serve dist it give me this error on the browser and it won't render any thing


Solution

  • the problem was with a react library called react-custom-scrollbars