Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert build tools to use dart-sass #1617

Merged
merged 11 commits into from
Sep 24, 2021
Next Next commit
Installing dart-sass
  • Loading branch information
jonrohan committed Aug 11, 2021
commit 570bb76843cc5dc61d6d18b5b86721888b499572
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "The CSS implementation of GitHub's Primer Design System",
"homepage": "https://primer.style/css",
"author": "GitHub, Inc.",
"engines": {"node": "^12.20.0 || ^14.13.1 || >=16.0.0"},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"license": "MIT",
"style": "dist/primer.css",
"sass": "index.scss",
Expand Down Expand Up @@ -37,6 +39,7 @@
"devDependencies": {
"@changesets/changelog-github": "0.4.0",
"@changesets/cli": "2.16.0",
"@csstools/postcss-sass": "4.0.0",
"@github/prettier-config": "0.0.4",
"autoprefixer": "10.3.1",
"cssstats": "4.0.2",
Expand All @@ -54,7 +57,6 @@
"postcss-calc": "8.0.0",
"postcss-import": "14.0.2",
"postcss-load-config": "3.1.0",
"postcss-node-sass": "3.1.1",
"postcss-scss": "4.0.0",
"postcss-simple-vars": "6.0.3",
"prettier": "2.3.2",
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
annotation: true
},
plugins: [
require('postcss-node-sass')({
require('@csstools/postcss-sass')({
includePaths: [path.join(__dirname, 'node_modules')],
outputStyle: 'compressed'
}),
Expand Down
Loading