windicss / windicss-webpack-plugin

🍃 Windi CSS for webpack ⚡
https://windicss.org/integrations/webpack.html
79 stars 19 forks source link

Class xl:w-[calc(50%-(140px/2))] does not work #119

Open Coachonko opened 2 years ago

Coachonko commented 2 years ago

xl:w-[calc(50%-(140px/2))] is not parsed w-[calc(50%-(140px/2))] is not parsed w-[calc(50%-(140px*2))] is not parsed w-[calc(50%-(140px+2))] is not parsed w-[calc(50%-(140px-2))] is not parsed

w-[calc(50%-70px)] is parsed w-[calc(50%-(140px%2))] is parsed xl:w-[calc(50%-(140px%2))] is parsed

Everything works fine on https://windicss.org/play so I suspect it is a webpack plugin issue. This forces me to calculate by hand where possible and to write custom CSS where not possible. This is a breaking bug.