Fixed overeager purgecss
All checks were successful
Build and Deploy Astro Site / deploy (push) Successful in 54s
All checks were successful
Build and Deploy Astro Site / deploy (push) Successful in 54s
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user