Skip to content

Commit

Permalink
Explicitly add postcss to dependencies
Browse files Browse the repository at this point in the history
stylelint-config-gds includes postcss-scss, this expects postcss as peer
depdendency, by default, other dependencies use the wrong version. Needed
to install as dependency so that the correct version is available. More
info here:
stylelint-scss/stylelint-config-standard-scss#5
  • Loading branch information
ivanELEC committed Apr 7, 2022
1 parent 3d4359c commit 6bdc8ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -11,7 +11,8 @@
"@rails/ujs": "^7.0.2",
"@rails/webpacker": "5.4.3",
"govuk-frontend": "^4.0.1",
"jquery": "3.6.0"
"jquery": "3.6.0",
"postcss": "^8.4.12"
},
"devDependencies": {
"standard": "^16.0.4",
Expand Down

0 comments on commit 6bdc8ab

Please sign in to comment.