Unused CSS is one of the most common problems that can negatively impact website performance. This article will introduce you to PurgeCSS, a tool that can minimize the CSS sent to the browser. Let’s learn what Purge CSS is, how it works, and how to configure it in a Next.js app.

7m read timeFrom blog.openreplay.com
Post cover image
Table of contents
Why Is Unused CSS a Problem?What Is PurgeCSS?Initializing a Next.js AppInstall PurgeCSSConfigure PurgeCSS to Remove Unused CSSPurgeCSS in ActionConclusion

Sort: