Skip to content

Commit

Permalink
fix: add css minifier warning to ignore list
Browse files Browse the repository at this point in the history
keep track if this was fixed: cssnano/cssnano#1040 and then remove the fallback
  • Loading branch information
Martin Neundorfer committed Apr 7, 2021
1 parent 4e76cf7 commit 3cf68be
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -37,6 +37,10 @@ export class FilterWarningsConfigurator implements IConfigurator
// Ignore all source-map loader related warnings
warningsToIgnore.push(/Failed to parse source map/);

// Temporary fix to ignore warnings from a cssnano issue when svg tags are used in font declarations
// @todo keep track if this was fixed: https://github.com/cssnano/cssnano/issues/1040
warningsToIgnore.push(/Css Minimizer Plugin: cssnano:/);

// Make sure everything is a regex
warningsToIgnore = map(warningsToIgnore, (v) => {
if (isString(v)) {
Expand Down

0 comments on commit 3cf68be

Please sign in to comment.