Skip to content

Commit 1326651

Browse files
committed
Merge #479: Fix WARN Using postcss.config.js is not supported together w…
397d144 fix: [#352] WARN Using postcss.config.js is not supported together with Nuxt. Use options.postcss (Jose Celano) Pull request description: It fixes this build warning: ``` WARN Using postcss.config.js is not supported together with Nuxt. Use options.postcss instead. You can read more in https://nuxt.com/docs/api/configuration/nuxt-config#postcss. ``` ACKs for top commit: josecelano: ACK 397d144 Tree-SHA512: 3e626f2145c41ebaa96cb4e4415d3bd6519d83bc051fc614bf17f07124120dcd66f6cfa7f60923bb1cf1471accac3f19b7f0e73f583aca5c77d96322138ee4f2
2 parents 0413a1a + 397d144 commit 1326651

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

nuxt.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ export default defineNuxtConfig({
4141

4242
devtools: {
4343
enabled: true
44-
}
44+
},
4545

46+
postcss: {
47+
plugins: {
48+
"tailwindcss/nesting": {},
49+
tailwindcss: {},
50+
autoprefixer: {}
51+
}
52+
}
4653
});

postcss.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)