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:
Jon 2024-10-04 14:10:49 -05:00 committed by GitHub
parent 38abda52bb
commit f582423239
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 24 deletions

View file

@ -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);
},
},
},
},
},

View file

@ -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);
},
},
},
},
},