Skip to content

Commit 6240fdf

Browse files
committedMar 16, 2021
fix: use postcss-nesting instead
1 parent 23adb8d commit 6240fdf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"defu": "^3.2.2",
3434
"postcss": "^8.2.8",
3535
"postcss-custom-properties": "^11.0.0",
36-
"postcss-nested": "^5.0.5",
36+
"postcss-nesting": "^7.0.1",
3737
"tailwind-config-viewer": "^1.5.0",
3838
"tailwindcss": "^2.0.3",
3939
"ufo": "^0.6.10"

‎src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function tailwindCSSModule (moduleOptions) {
2828
// https://tailwindcss.com/docs/using-with-preprocessors#future-css-features
2929
nuxt.options.build.postcss = defu(nuxt.options.build.postcss, {
3030
plugins: {
31-
'postcss-nested': {},
31+
'postcss-nesting': {},
3232
'postcss-custom-properties': {}
3333
}
3434
})

‎yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -9241,14 +9241,14 @@ postcss-modules-values@^4.0.0:
92419241
dependencies:
92429242
icss-utils "^5.0.0"
92439243

9244-
postcss-nested@^5.0.1, postcss-nested@^5.0.5:
9244+
postcss-nested@^5.0.1:
92459245
version "5.0.5"
92469246
resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-5.0.5.tgz#f0a107d33a9fab11d7637205f5321e27223e3603"
92479247
integrity sha512-GSRXYz5bccobpTzLQZXOnSOfKl6TwVr5CyAQJUPub4nuRJSOECK5AqurxVgmtxP48p0Kc/ndY/YyS1yqldX0Ew==
92489248
dependencies:
92499249
postcss-selector-parser "^6.0.4"
92509250

9251-
postcss-nesting@^7.0.0:
9251+
postcss-nesting@^7.0.0, postcss-nesting@^7.0.1:
92529252
version "7.0.1"
92539253
resolved "https://registry.yarnpkg.com/postcss-nesting/-/postcss-nesting-7.0.1.tgz#b50ad7b7f0173e5b5e3880c3501344703e04c052"
92549254
integrity sha512-FrorPb0H3nuVq0Sff7W2rnc3SmIcruVC6YwpcS+k687VxyxO33iE1amna7wHuRVzM8vfiYofXSBHNAZ3QhLvYg==

0 commit comments

Comments
 (0)
Please sign in to comment.