A class the build cannot see
Take your time, follow the code and check your understanding.
The codeUtility-first layouts
const className = `bg-${color}-500`;Your answer4 min · no timer
Show solution and explanation
Production builds detect complete class names in source. Map options to full classes so the needed utilities are present.
Map allowed colors to complete class strings such as bg-green-500.