Yarn build won’t build main.css. After I run yarn build in my theme directory it build everything successfully except for the CSS file, it’s highlighted in yellow and says “styles/main.css 352 kB 0 [emitted] [big] main”
Try running ‘yarn cache clean’, that may help. Try completely removing your ‘dist’ folder, then run ‘yarn build’ again. That has helped us in the past. If that doesn’t help, try removing the ‘node_modules’ directory and run ‘yarn’ again and repeat the build process. That may help.
thanks Josh! Working now!
Happy to help. What worked?
removing the dist folder did it for me!