diff --git a/postcss.config.js b/postcss.config.js index bb43fdd..d52b582 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -28,7 +28,10 @@ if (process.env.NODE_ENV === 'production') { console.log('Adding PurgeCSS') plugins.push( purgeCSSPlugin({ - content: ['./src/**/*.{html,js,jsx,ts,tsx}', './content/**/*.{md,mdx}'], + content: [ + './src/**/*.{html,js,jsx,ts,tsx,css}', + './content/**/*.{md,mdx}', + ], safelist: ['html', 'body'], variables: true, })