Skip to content

Commit

Permalink
use fork of postcss-calc
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jun 18, 2020
1 parent e741502 commit 922c1a2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"postversion": "echo 'EXEC: git push --recurse-submodules=on-demand' && echo 'STILL NEED TO PUSH ALL TAGS'"
},
"devDependencies": {
"@arshaw/postcss-calc": "^7.0.2",
"@arshaw/postcss-custom-properties": "^9.1.1",
"@rollup/plugin-alias": "^3.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
Expand Down Expand Up @@ -96,7 +97,6 @@
"moment-timezone-data-webpack-plugin": "^1.3.0",
"postcss": "^7.0.30",
"postcss-advanced-variables": "^3.0.1",
"postcss-calc": "^7.0.2",
"postcss-comment": "^2.0.0",
"postcss-loader": "^3.0.0",
"postcss-nesting": "^7.0.1",
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
preserve: true, // keep var statements intact (but still reduce their value in a second statement)
preserveWithFallback: true // the preserved var statements will have a fallback value
}),
require('postcss-calc')
require('@arshaw/postcss-calc') // a fork that ensures important spaces (issue 5503)

// TODO: remove empty blocks
// apparently it should automatically work with postcss-nesting, but doesn't seem to
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,15 @@
resolved "https://registry.yarnpkg.com/@angular/router/-/router-9.0.7.tgz#0296d11a17a6b94c0463c9b166dc4244b8fea5e5"
integrity sha512-uKru9F/Zju//gg6INl54abnlpLdEUUO/GpCfMk4zqu8LCZGNFta6OY7VT+9DK9Vdrh/XUD70oE9WoelcRwwTYA==

"@arshaw/postcss-calc@^7.0.2":
version "7.0.2"
resolved "https://registry.yarnpkg.com/@arshaw/postcss-calc/-/postcss-calc-7.0.2.tgz#fd92cc54a64c381eec1073454a9b73822db3a6fc"
integrity sha512-co0Hjp5N10WY4RY7l1pHFqwbG+SyK1gjhdg2CqlW7+tw37itYlssYCIHI1NV0GhwoqXo8tQBx4TQ1Eii9/i0pg==
dependencies:
postcss "^7.0.27"
postcss-selector-parser "^6.0.2"
postcss-value-parser "^4.0.2"

"@arshaw/postcss-custom-properties@^9.1.1":
version "9.1.1"
resolved "https://registry.yarnpkg.com/@arshaw/postcss-custom-properties/-/postcss-custom-properties-9.1.1.tgz#7783f538fe014b71bf484c0e43324ee71ad09c9b"
Expand Down

0 comments on commit 922c1a2

Please sign in to comment.