Skip to content

Commit

Permalink
fix: use postcss-nesting instead
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Mar 16, 2021
1 parent 23adb8d commit 6240fdf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"defu": "^3.2.2",
"postcss": "^8.2.8",
"postcss-custom-properties": "^11.0.0",
"postcss-nested": "^5.0.5",
"postcss-nesting": "^7.0.1",
"tailwind-config-viewer": "^1.5.0",
"tailwindcss": "^2.0.3",
"ufo": "^0.6.10"
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function tailwindCSSModule (moduleOptions) {
// https://tailwindcss.com/docs/using-with-preprocessors#future-css-features
nuxt.options.build.postcss = defu(nuxt.options.build.postcss, {
plugins: {
'postcss-nested': {},
'postcss-nesting': {},
'postcss-custom-properties': {}
}
})
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9241,14 +9241,14 @@ postcss-modules-values@^4.0.0:
dependencies:
icss-utils "^5.0.0"

postcss-nested@^5.0.1, postcss-nested@^5.0.5:
postcss-nested@^5.0.1:
version "5.0.5"
resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-5.0.5.tgz#f0a107d33a9fab11d7637205f5321e27223e3603"
integrity sha512-GSRXYz5bccobpTzLQZXOnSOfKl6TwVr5CyAQJUPub4nuRJSOECK5AqurxVgmtxP48p0Kc/ndY/YyS1yqldX0Ew==
dependencies:
postcss-selector-parser "^6.0.4"

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

0 comments on commit 6240fdf

Please sign in to comment.