Issues with hsl function in webpack #628
HaveSpacesuit
started this conversation in
General
Replies: 1 comment 3 replies
-
Thanks for creating this discussion.
Is there any reason you are importing our |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After installing @itwin/itwinui-react 1.36.0 (which is using @itwin/itwinui-css 0.54.1), I get a build error related to these lines in the style/theme.scss file:
The error I get:
viewStatus.scss has the following statement:
We build with webpack, and use style-loader 0.23.1, css-loader 3.6.0, and sass-loader 7.1.0. I've tried updating the sass-loader to version 10, which is the highest version which will support our version of webpack, but it is the same issue with a different wrapper:
I can tweak the file on local runs to use the hsla function such as
hsla(0, 0%, 0%, .3)
and remove problems.Beta Was this translation helpful? Give feedback.
All reactions