We are trying to upgrade to 7.0 in Space-ACME but we are getting warnings with postcss on build. It looks as though astro css is using calc and dividing by rems, causing warnings.
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:173
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:406
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:638
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:880
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:1116
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:1353
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:1590
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:1832
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:2068
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:2313
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:2551
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:2784
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3022
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3261
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3496
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3730
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:3967
8:45:07 AM: static/css/main.73e5598d.css from Css Minimizer plugin
8:45:07 AM: postcss-calc:: Cannot divide by "rem", number expected webpack://./node_modules/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css:1:4199
We are trying to upgrade to 7.0 in Space-ACME but we are getting warnings with
postcss
on build. It looks as though astro css is usingcalc
and dividing by rems, causing warnings.