Fixed : Arbitary css purging
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:
@@ -30,7 +30,7 @@ if (process.env.NODE_ENV === 'production') {
|
||||
plugins.push(
|
||||
purgeCSSPlugin({
|
||||
content: glob.sync([
|
||||
path.join(process.cwd(), 'src/**/*.{js,jsx,ts,tsx}'),
|
||||
path.join(process.cwd(), 'src/**/*.{js,jsx,ts,tsx,css}'),
|
||||
path.join(process.cwd(), 'content/**/*.{md,mdx}'),
|
||||
]),
|
||||
safelist: ['html', 'body'],
|
||||
|
||||
Reference in New Issue
Block a user