mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
3ed96f92cb
### What? I'm recreating a PR because CI of https://github.com/vercel/next.js/pull/58712 uses `lightningcss@1.14.0` for an unknown reason. Add an opt-in feature to use `lightningcss` instead of webpack css-loader. ### Why? In the name of performance. ### How? This PR is largely based on https://github.com/fz6m/lightningcss-loader by @fz6m. (Thank you for nice work) Closes PACK-1998 Closes PACK-2124 --------- Co-authored-by: OJ Kwon <1210596+kwonoj@users.noreply.github.com>
8 lines
54 B
CSS
8 lines
54 B
CSS
.blue {
|
|
color: blue;
|
|
|
|
div {
|
|
color: red;
|
|
}
|
|
}
|