Skip to content

Commit b964f6f

Browse files
authored
use lightningCss (#6399)
1 parent 079ab29 commit b964f6f

File tree

4 files changed

+5
-20
lines changed

4 files changed

+5
-20
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
"@mdx-js/loader": "^2.0.0-next.9",
7979
"@octokit/auth-action": "^2.0.1",
8080
"@octokit/rest": "^19.0.4",
81-
"@parcel/css": "^1.14.0",
8281
"@pmmmwh/react-refresh-webpack-plugin": "next",
8382
"@svgr/webpack": "^6.3.1",
8483
"autoprefixer": "^10.4.8",
@@ -103,6 +102,7 @@
103102
"husky": "^8.0.1",
104103
"hyperlink": "^5.0.4",
105104
"jest": "^29.0.3",
105+
"lightningcss": "^1.14.0",
106106
"lint-staged": "^13.0.3",
107107
"lodash": "^4.17.21",
108108
"markdownlint": "^0.26.2",

webpack.prod.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default (env) =>
3838
minimizer: [
3939
'...',
4040
new CssMinimizerPlugin({
41-
minify: CssMinimizerPlugin.parcelCssMinify,
41+
minify: CssMinimizerPlugin.lightningCssMinify,
4242
}),
4343
],
4444
},

webpack.ssg.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default (env) =>
4141
optimization: {
4242
minimizer: [
4343
new CssMinimizerPlugin({
44-
minify: CssMinimizerPlugin.parcelCssMinify,
44+
minify: CssMinimizerPlugin.lightningCssMinify,
4545
}),
4646
],
4747
},

yarn.lock

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,7 @@
230230
"@babel/helper-replace-supers" "^7.18.6"
231231
"@babel/helper-split-export-declaration" "^7.18.6"
232232

233-
"@babel/helper-create-regexp-features-plugin@^7.18.6":
234-
version "7.18.6"
235-
resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.18.6.tgz#3e35f4e04acbbf25f1b3534a657610a000543d3c"
236-
integrity sha512-7LcpH1wnQLGrI+4v+nPp+zUvIkF9x0ddv1Hkdue10tg3gmRnLy97DXh4STiOf1qeIInyD69Qv5kKSZzKD8B/7A==
237-
dependencies:
238-
"@babel/helper-annotate-as-pure" "^7.18.6"
239-
regexpu-core "^5.1.0"
240-
241-
"@babel/helper-create-regexp-features-plugin@^7.19.0":
233+
"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.19.0":
242234
version "7.19.0"
243235
resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz#7976aca61c0984202baca73d84e2337a5424a41b"
244236
integrity sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==
@@ -2009,13 +2001,6 @@
20092001
dependencies:
20102002
"@octokit/openapi-types" "^13.0.0"
20112003

2012-
"@parcel/css@^1.14.0":
2013-
version "1.14.0"
2014-
resolved "https://registry.yarnpkg.com/@parcel/css/-/css-1.14.0.tgz#233750a1e3648b3746f27c2d8f3fd85a2290e512"
2015-
integrity sha512-r5tJWe6NF6lesfPw1N3g7N7WUKpHqi2ONnw9wl5ccSGGIxkmgcPaPQxfvmhdjXvQnktSuIOR0HjQXVXu+/en/w==
2016-
dependencies:
2017-
lightningcss "^1.14.0"
2018-
20192004
"@pkgr/utils@^2.3.1":
20202005
version "2.3.1"
20212006
resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.3.1.tgz#0a9b06ffddee364d6642b3cd562ca76f55b34a03"
@@ -4473,7 +4458,7 @@ detab@^2.0.0:
44734458
detect-libc@^1.0.3:
44744459
version "1.0.3"
44754460
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
4476-
integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
4461+
integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==
44774462

44784463
detect-newline@^3.0.0:
44794464
version "3.1.0"

0 commit comments

Comments
 (0)