Skip to content

Commit

Permalink
chore: remove unneeded postcss-custom-properties plugin
Browse files Browse the repository at this point in the history
This removes the no longer needed `postcss-custom-properties` plugin due to almost universal support for CSS Custom Properties in modern browsers: https://caniuse.com/css-variables
  • Loading branch information
reesscot authored Apr 11, 2024
1 parent 4ecc5ad commit 7061c8d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export default defineNuxtModule<ModuleOptions>({
postcssOptions.plugins = {
...(postcssOptions.plugins || {}),
'tailwindcss/nesting': postcssOptions.plugins?.['tailwindcss/nesting'] ?? {},
'postcss-custom-properties': postcssOptions.plugins?.['postcss-custom-properties'] ?? {},
tailwindcss: tailwindConfig
}

Expand Down

0 comments on commit 7061c8d

Please sign in to comment.