Skip to content

Commit 163a7d1

Browse files
authored
chore: swap sass css-nesting for css standard nesting postcss plugin (#9887)
fix: swap sass nesting for css standard nesting
1 parent 3722f91 commit 163a7d1

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@
9797
"@types/react": "18.0.37",
9898
"autoprefixer": "10.4.13",
9999
"postcss": "8.4.19",
100-
"postcss-nested": "6.0.0"
100+
"postcss-nesting": "^12.0.2"
101101
}
102102
}

packages/core/scripts/generate-css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from "path"
33
import postcss from "postcss"
44

55
import autoprefixer from "autoprefixer"
6-
import postCssNested from "postcss-nested"
6+
import postCssNested from "postcss-nesting"
77

88
const from = path.join(process.cwd(), "src/lib/pages/styles.css")
99
const css = fs.readFileSync(from)

pnpm-lock.yaml

Lines changed: 17 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)