We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c2025 commit 8a3b46dCopy full SHA for 8a3b46d
src/module.ts
@@ -139,8 +139,8 @@ export default defineNuxtModule<ModuleOptions>({
139
nuxt.options.build.postcss as any
140
postcssOptions.plugins = {
141
...(postcssOptions.plugins || {}),
142
- 'tailwindcss/nesting': postcssOptions.plugins['tailwindcss/nesting'] ?? {},
143
- 'postcss-custom-properties': postcssOptions.plugins['postcss-custom-properties'] ?? {},
+ 'tailwindcss/nesting': postcssOptions.plugins?.['tailwindcss/nesting'] ?? {},
+ 'postcss-custom-properties': postcssOptions.plugins?.['postcss-custom-properties'] ?? {},
144
tailwindcss: tailwindConfig
145
}
146
0 commit comments