Open jrom99 opened 7 months ago
same issue:
for anyone wait for solution, you can check: https://github.com/tjx666/react-rspack-boilerplate/commit/458999c3d9a8fcce4758ba0cf5c72d8cd3116648#diff-b0ea7199fc1af4f2709c22d43f6c72f3e3160def9e08ac918ba8dff83318396f
It's a valid issue. Nested CSS is commonly supported now:
https://caniuse.com/css-nesting
In the meantime, you flatten the css before checking it with doiuse
, much like when working with scss. Perhaps postcss
supports this syntax and it's just a matter of updating the dependency.
Given a file with the following contents:
The following problem happens
System information
doiuse v6.0.2 Node.js v20.10.0 Ubuntu 23.10