mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
chore: update snapshots & regex for filterWarnings
This commit is contained in:
@ -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/,
|
||||
},
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user