Skip to content

Commit f4d1600

Browse files
committed
add postcss nesting
1 parent e748e04 commit f4d1600

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"postcss-custom-properties": "11.0.0",
5959
"postcss-font-smoothing": "0.1.0",
6060
"postcss-loader": "6.1.1",
61+
"postcss-nesting": "12.0.1",
6162
"query-string": "3.0.0",
6263
"react": "^18.2.0",
6364
"react-dom": "^18.2.0",

postcss.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
autoprefixer: {},
44
'postcss-custom-properties': {},
55
'postcss-import': {},
6+
'postcss-nesting': {},
67
'postcss-custom-media': {
78
preserve: false,
89
},

yarn.lock

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,11 @@
13471347
resolved "https://registry.yarnpkg.com/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.4.tgz#0017f99945f6c16dd81a7aacf6821770933c3a5c"
13481348
integrity sha512-V/OUXYX91tAC1CDsiY+HotIcJR+vPtzrX8pCplCpT++i8ThZZsq5F5dzZh/bDM3WUOjrvC1ljed1oSJxMfjqhw==
13491349

1350+
"@csstools/selector-specificity@^3.0.0":
1351+
version "3.0.0"
1352+
resolved "https://registry.yarnpkg.com/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz#798622546b63847e82389e473fd67f2707d82247"
1353+
integrity sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==
1354+
13501355
"@discoveryjs/json-ext@^0.5.0":
13511356
version "0.5.7"
13521357
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
@@ -6922,7 +6927,15 @@ postcss-modules-values@^4.0.0:
69226927
dependencies:
69236928
icss-utils "^5.0.0"
69246929

6925-
postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4:
6930+
postcss-nesting@12.0.1:
6931+
version "12.0.1"
6932+
resolved "https://registry.yarnpkg.com/postcss-nesting/-/postcss-nesting-12.0.1.tgz#abb76d15dfd59a9f7d03b4464f53b60a4d3795c4"
6933+
integrity sha512-6LCqCWP9pqwXw/njMvNK0hGY44Fxc4B2EsGbn6xDcxbNRzP8GYoxT7yabVVMLrX3quqOJ9hg2jYMsnkedOf8pA==
6934+
dependencies:
6935+
"@csstools/selector-specificity" "^3.0.0"
6936+
postcss-selector-parser "^6.0.13"
6937+
6938+
postcss-selector-parser@^6.0.13, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4:
69266939
version "6.0.13"
69276940
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b"
69286941
integrity sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==

0 commit comments

Comments
 (0)