Niklas Mischkulnig
Niklas Mischkulnig
- [x] Add test - [ ] Fix This is the problematic situation: ``` a.js: esmImport("y.js") x.js, y.js: esmExport({...}, "x.js") esmImport("a.js") esmExport({...}, "y.js") entry: esmImport("x.js") ``` `entry` and then `x.js,...
Basically no code changes, adds types instead of `any` for `requiredServerFiles.config` Came here from https://github.com/vercel/next.js/pull/86812
Wasn't able to find the cause yet...
When transpiling ```css .btn1 { :where(&) { width: unset; } border-start-start-radius: var(--join-ss, var(--radius-field)); } .btn2 { border-start-start-radius: var(--join-ss, var(--radius-field)); border-end-end-radius: var(--join-ee, var(--radius-field)); } ``` to Chrome 80, the radius styles...
For this input ```css .pre { :global(.line:before), :global(.highlighted-line:before) { content: counter(line); } } ``` Lightningcss generates ([playground link](https://lightningcss.dev/playground/index.html#%7B%22minify%22%3Afalse%2C%22customMedia%22%3Atrue%2C%22cssModules%22%3Atrue%2C%22analyzeDependencies%22%3Afalse%2C%22targets%22%3A%7B%22chrome%22%3A5963776%7D%2C%22include%22%3A0%2C%22exclude%22%3A0%2C%22source%22%3A%22.pre%20%7B%5Cn%20%20%3Aglobal(.line%3Abefore)%2C%5Cn%20%20%3Aglobal(.highlighted-line%3Abefore)%20%7B%5Cn%20%20%20%20content%3A%20counter(line)%3B%5Cn%20%20%7D%5Cn%7D%5Cn%22%2C%22visitorEnabled%22%3Afalse%2C%22visitor%22%3A%22%7B%5Cn%20%20Color(color)%20%7B%5Cn%20%20%20%20if%20(color.type%20%3D%3D%3D%20'rgb')%20%7B%5Cn%20%20%20%20%20%20color.g%20%3D%200%3B%5Cn%20%20%20%20%20%20return%20color%3B%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%7D%22%2C%22unusedSymbols%22%3A%5B%5D%2C%22version%22%3A%221.30.1%22%7D)) ```css :is(.EgL3uq_pre .line:before, .EgL3uq_pre .highlighted-line:before) { content: counter(line); } ``` [which is...
In recent nightlies, e.g. `nightly-2026-01-04`, there's a compile error: Probably related to https://github.com/rust-lang/rust/pull/149400 ``` error[E0433]: failed to resolve: could not find `tracked_env` in `proc_macro` --> /Users/niklas/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/include_dir_macros-0.7.4/src/lib.rs:255:17 | 255 | proc_macro::tracked_env::var(variable).ok()...
With this input file ```js reference.names[key] ??= cleanedKey; ``` es-check 9.5.0 fails with ``` $ pnpm es-check checkBrowser x.js --browserslistQuery="chrome 111" info: ES-Check: checking 1 file... error: ES-Check: there were...
With this input file ```js class App { static { console.log("hi"); } } ``` es-check 9.5.0 fails with ``` $ pnpm es-check checkBrowser x.js --browserslistQuery="chrome 111" info: ES-Check: checking 1...