Skip to content

Commit 06676c8

Browse files
committed
Module resolution to avoid build error.
* [This issue](csstools/postcss-preset-env#163 (comment)) with `preset-env` causes build to fail.
1 parent 4813215 commit 06676c8

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
"table-resolver": "^4.1.1",
5454
"undux": "^5.0.0-beta.18"
5555
},
56+
"resolutions": {
57+
"react-scripts/postcss-preset-env/postcss-custom-properties": "^10.0.0"
58+
},
5659
"browserslist": {
5760
"production": [
5861
">0.2%",

yarn.lock

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3285,7 +3285,7 @@ [email protected]:
32853285
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
32863286
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
32873287

3288-
color-name@^1.0.0, color-name@~1.1.4:
3288+
color-name@^1.0.0, color-name@^1.1.4, color-name@~1.1.4:
32893289
version "1.1.4"
32903290
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
32913291
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
@@ -6550,6 +6550,11 @@ is-typedarray@~1.0.0:
65506550
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
65516551
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
65526552

6553+
is-url-superb@^4.0.0:
6554+
version "4.0.0"
6555+
resolved "https://registry.yarnpkg.com/is-url-superb/-/is-url-superb-4.0.0.tgz#b54d1d2499bb16792748ac967aa3ecb41a33a8c2"
6556+
integrity sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA==
6557+
65536558
is-windows@^1.0.2:
65546559
version "1.0.2"
65556560
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
@@ -8947,13 +8952,13 @@ postcss-custom-media@^7.0.8:
89478952
dependencies:
89488953
postcss "^7.0.14"
89498954

8950-
postcss-custom-properties@^8.0.11:
8951-
version "8.0.11"
8952-
resolved "https://registry.yarnpkg.com/postcss-custom-properties/-/postcss-custom-properties-8.0.11.tgz#2d61772d6e92f22f5e0d52602df8fae46fa30d97"
8953-
integrity sha512-nm+o0eLdYqdnJ5abAJeXp4CEU1c1k+eB2yMCvhgzsds/e0umabFrN6HoTy/8Q4K5ilxERdl/JD1LO5ANoYBeMA==
8955+
postcss-custom-properties@^10.0.0, postcss-custom-properties@^8.0.11:
8956+
version "10.0.0"
8957+
resolved "https://registry.yarnpkg.com/postcss-custom-properties/-/postcss-custom-properties-10.0.0.tgz#5cb31afc530f58ad241f1e836dd5f5f7065334df"
8958+
integrity sha512-55BPj5FudpCiPZzBaO+MOeqmwMDa+nV9/0QBJBfhZjYg6D9hE+rW9lpMBLTJoF4OTXnS5Po4yM1nMlgkPbCxFg==
89548959
dependencies:
89558960
postcss "^7.0.17"
8956-
postcss-values-parser "^2.0.1"
8961+
postcss-values-parser "^4.0.0"
89578962

89588963
postcss-custom-selectors@^5.1.2:
89598964
version "5.1.2"
@@ -9499,6 +9504,15 @@ postcss-values-parser@^2.0.0, postcss-values-parser@^2.0.1:
94999504
indexes-of "^1.0.1"
95009505
uniq "^1.0.1"
95019506

9507+
postcss-values-parser@^4.0.0:
9508+
version "4.0.0"
9509+
resolved "https://registry.yarnpkg.com/postcss-values-parser/-/postcss-values-parser-4.0.0.tgz#3b4625e649279613f52842f1c81f2064321beec7"
9510+
integrity sha512-R9x2D87FcbhwXUmoCXJR85M1BLII5suXRuXibGYyBJ7lVDEpRIdKZh4+8q5S+/+A4m0IoG1U5tFw39asyhX/Hw==
9511+
dependencies:
9512+
color-name "^1.1.4"
9513+
is-url-superb "^4.0.0"
9514+
postcss "^7.0.5"
9515+
95029516
95039517
version "7.0.21"
95049518
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.21.tgz#06bb07824c19c2021c5d056d5b10c35b989f7e17"

0 commit comments

Comments
 (0)