Skip to content

Commit

Permalink
Revert Mute SASS mixed-decls warnings (elastic#195128)
Browse files Browse the repository at this point in the history
Reverts elastic#190348 and elastic#192648

Related to elastic#190345

(cherry picked from commit f582423)
  • Loading branch information
jbudz committed Oct 4, 2024
1 parent bc44862 commit b4d1a99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions packages/kbn-optimizer/src/worker/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
},
},
},
},
Expand Down
12 changes: 0 additions & 12 deletions packages/kbn-storybook/src/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
},
},
},
},
Expand Down

0 comments on commit b4d1a99

Please sign in to comment.