Closed predaytor closed 2 months ago
I might think is a bug for lightningCSS. According lch I think expression calc(1 + 10%)
not correct syntax. But lightningCSS can make it work well. These are all digressions.
It's a bug for the plugin. I have been fixed this issue in my local. But i need to ensure all of scene can be passed.
Stackblitz (https://stackblitz.com/edit/remix-run-remix-3gnvyb?file=app%2Froutes%2F_index.tsx)
Post-processing with LightningCSS does not work in dev mode on HMR updates. The production build works as expected.
css output:
should be:
Notice the defined CSS in the regular imported stylesheet (in our case the main import
/styles/index.css
), the post-processing is working properly.