From b7a186f8ac8ece57bb779ad376984e952b2521a0 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 6 Sep 2022 21:07:49 +0200 Subject: [PATCH] fix: components warning Solution per was enabled, but the necessary dev dependencies not enabled, which caused problems --- packages/components/package.json | 1 + packages/components/postcss.config.js | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index f7cc72d4..6934062f 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -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", diff --git a/packages/components/postcss.config.js b/packages/components/postcss.config.js index 74eecfcd..b3c03b60 100644 --- a/packages/components/postcss.config.js +++ b/packages/components/postcss.config.js @@ -1,9 +1,9 @@ module.exports = { - plugins: { - "postcss-import": {}, - "tailwindcss/nesting": {}, - tailwindcss: {}, - autoprefixer: {}, - cssnano: {}, - }, + plugins: { + "postcss-import": {}, + "tailwindcss/nesting": {}, + tailwindcss: {}, + autoprefixer: {}, + cssnano: {} + } };