chore: update snapshots & regex for filterWarnings

This commit is contained in:
Igor Randjelovic
2021-03-02 15:26:04 +01:00
parent 99eca67a90
commit 50594fb5f4
6 changed files with 82 additions and 18 deletions

View File

@ -236,10 +236,18 @@ export default function (config: Config, env: IWebpackEnv): Config {
},
]);
// useful for filtering common undesirable warnings
// Filter common undesirable warnings
config.plugin('FilterWarningsPlugin').use(FilterWarningsPlugin, [
{
exclude: /System.import/,
/**
* This rule hides
* +-------------------------------------------------------------------------------+
* | WARNING in ./node_modules/@angular/core/fesm2015/core.js 29714:15-102 |
* | System.import() is deprecated and will be removed soon. Use import() instead. |
* | For more info visit https://webpack.js.org/guides/code-splitting/ |
* +-------------------------------------------------------------------------------+
*/
exclude: /System.import\(\) is deprecated/,
},
]);