You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
We use latest Prism 1.29.0 and getting build warnings:
./projects/src/vendor.scss - Warning: Module Warning (from ./node_modules/postcss-loader/dist/cjs.js): Warning
(28029:5) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
This is coming from \node_modules\prismjs\plugins\line-highlight\prism-line-highlight.css
.line-highlight {
/*
* This will prevent browsers from replacing the background color with white.
* It's necessary because the element is layered on top of the displayed code.
*/
-webkit-print-color-adjust: exact;
color-adjust: exact;
}
Example
See above. Just adding prism-line-highlight.css gets this warning in our Angular 16 project. We don't allow warnings in our projects as too many of them hides real issues and it's very hard to see them with a list of warnings. Would be really good to get this fixed.
The text was updated successfully, but these errors were encountered:
Information:
Description
We use latest Prism 1.29.0 and getting build warnings:
This is coming from
\node_modules\prismjs\plugins\line-highlight\prism-line-highlight.css
Example
See above. Just adding
prism-line-highlight.css
gets this warning in our Angular 16 project. We don't allow warnings in our projects as too many of them hides real issues and it's very hard to see them with a list of warnings. Would be really good to get this fixed.The text was updated successfully, but these errors were encountered: