Bug? Webpack gives warnings for kendo-theme-material which fails our builds

1 Answer 684 Views
Styling / Themes
Anders
Top achievements
Rank 1
Anders asked on 10 Feb 2022, 10:05 AM

I've generated a React app that uses TypeScript and only added kendo-theme-material and I get warnings when building the production build. Since our CI system is set to fail on warnings it will stop the build and not continue. I don't want to ease up on that rule. I think that kendo-theme-material shouldn't give any warnings.

How should this be handled? It is a bit tricky to submit bug reports without a license and we don't want to buy a license for a component that isn't working as it should.

Reproduce:

npx create-react-app kendo-app --template redux-typescript
npm install --save @progress/kendo-theme-material

Add to App.tsx:

import '@progress/kendo-theme-material/dist/all.css';

Run:

npm start build
Warnings:
static/css/main.17a367f8.css from Css Minimizer plugin
postcss-svgo:: Non-whitespace before first tag.

> 1 | %3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50…
    | ^
 webpack://./src/index.css:1:0

static/css/main.17a367f8.css from Css Minimizer plugin
postcss-svgo:: Non-whitespace before first tag.

> 1 | %3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50…
    | ^
 webpack://./src/index.css:1:0

File that causes the warnings:
node_modules\@progress\kendo-theme-material\dist\all.css
Rows: 17512 and 17527

1 Answer, 1 is accepted

Sort by
1
Accepted
Stefan
Telerik team
answered on 10 Feb 2022, 10:28 AM

Hello,

This is a known issue and it is already fixed:

https://github.com/telerik/kendo-themes/issues/3291

The fix is available in the dev version of the themes. It will also be available in the next official version.

Apologies for the inconvenience this may have caused you.

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Anders
Top achievements
Rank 1
commented on 10 Feb 2022, 10:43 AM

Thanks. I only searched for open bugs and couldn't find it, but I see it now if I search for all bugs. My mistake. 
Tags
Styling / Themes
Asked by
Anders
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or