mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Revert Mute SASS mixed-decls warnings (#195128)
Reverts #190348 and #192648 Related to https://github.com/elastic/kibana/issues/190345
This commit is contained in:
parent
38abda52bb
commit
f582423239
2 changed files with 0 additions and 24 deletions
|
@ -214,18 +214,6 @@ export function getWebpackConfig(
|
|||
includePaths: [Path.resolve(worker.repoRoot, 'node_modules')],
|
||||
sourceMap: true,
|
||||
quietDeps: true,
|
||||
logger: {
|
||||
warn: (message: string, warning: any) => {
|
||||
// Muted - see https://github.com/elastic/kibana/issues/190345 for tracking remediation
|
||||
if (warning?.deprecationType?.id === 'mixed-decls') return;
|
||||
|
||||
if (warning.deprecation)
|
||||
return process.stderr.write(
|
||||
`DEPRECATION WARNING: ${message}\n${warning.stack}`
|
||||
);
|
||||
process.stderr.write('WARNING: ' + message);
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -120,18 +120,6 @@ export default ({ config: storybookConfig }: { config: Configuration }) => {
|
|||
sassOptions: {
|
||||
includePaths: [resolve(REPO_ROOT, 'node_modules')],
|
||||
quietDeps: true,
|
||||
logger: {
|
||||
warn: (message: string, warning: any) => {
|
||||
// Muted - see https://github.com/elastic/kibana/issues/190345 for tracking remediation
|
||||
if (warning?.deprecationType?.id === 'mixed-decls') return;
|
||||
|
||||
if (warning.deprecation)
|
||||
return process.stderr.write(
|
||||
`DEPRECATION WARNING: ${message}\n${warning.stack}`
|
||||
);
|
||||
process.stderr.write('WARNING: ' + message);
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue