fix: components warning

Solution per
<https://tailwindcss.com/docs/using-with-preprocessors#nesting>
was enabled, but the necessary dev dependencies not enabled,
which caused problems
This commit is contained in:
NunoSempere 2022-09-06 21:07:49 +02:00
parent 4917c2e0e2
commit b7a186f8ac
2 changed files with 8 additions and 7 deletions

View File

@ -48,6 +48,7 @@
"postcss-cli": "^10.0.0",
"postcss-import": "^14.1.0",
"postcss-loader": "^7.0.1",
"postcss-nesting": "^10.1.10",
"react": "^18.1.0",
"react-scripts": "^5.0.1",
"style-loader": "^3.3.1",

View File

@ -1,9 +1,9 @@
module.exports = {
plugins: {
"postcss-import": {},
"tailwindcss/nesting": {},
tailwindcss: {},
autoprefixer: {},
cssnano: {},
},
plugins: {
"postcss-import": {},
"tailwindcss/nesting": {},
tailwindcss: {},
autoprefixer: {},
cssnano: {}
}
};