diff --git a/packages/kbn-optimizer/src/worker/webpack.config.ts b/packages/kbn-optimizer/src/worker/webpack.config.ts index 876bc347a21c5..13e342356a2bc 100644 --- a/packages/kbn-optimizer/src/worker/webpack.config.ts +++ b/packages/kbn-optimizer/src/worker/webpack.config.ts @@ -166,8 +166,8 @@ export function getWebpackConfig(bundle: Bundle, bundleRefs: BundleRefs, worker: loader: 'postcss-loader', options: { sourceMap: !worker.dist, - config: { - path: require.resolve('@kbn/optimizer/postcss.config.js'), + postcssOptions: { + config: require.resolve('@kbn/optimizer/postcss.config.js'), }, }, }, diff --git a/packages/kbn-storybook/src/webpack.config.ts b/packages/kbn-storybook/src/webpack.config.ts index 7f4821767cd9c..880afe83528a8 100644 --- a/packages/kbn-storybook/src/webpack.config.ts +++ b/packages/kbn-storybook/src/webpack.config.ts @@ -91,8 +91,8 @@ export default ({ config: storybookConfig }: { config: Configuration }) => { { loader: 'postcss-loader', options: { - config: { - path: require.resolve('@kbn/optimizer/postcss.config.js'), + postcssOptions: { + config: require.resolve('@kbn/optimizer/postcss.config.js'), }, }, }, diff --git a/src/plugins/dashboard/public/application/embeddable/viewport/print_media/styling/_index.scss b/src/plugins/dashboard/public/application/embeddable/viewport/print_media/styling/_index.scss index 16c4dd85ea45e..eec56a3ef2113 100644 --- a/src/plugins/dashboard/public/application/embeddable/viewport/print_media/styling/_index.scss +++ b/src/plugins/dashboard/public/application/embeddable/viewport/print_media/styling/_index.scss @@ -45,8 +45,9 @@ Observations: } * { - -webkit-print-color-adjust: exact !important; /* Chrome, Safari, Edge */ - color-adjust: exact !important; /*Firefox*/ + // requires upgrade to stylint 14 + // stylelint-disable-next-line property-no-unknown + print-color-adjust: exact !important; } } diff --git a/x-pack/plugins/canvas/shareable_runtime/webpack.config.js b/x-pack/plugins/canvas/shareable_runtime/webpack.config.js index 09a0999194490..8d679f53770f7 100644 --- a/x-pack/plugins/canvas/shareable_runtime/webpack.config.js +++ b/x-pack/plugins/canvas/shareable_runtime/webpack.config.js @@ -78,8 +78,8 @@ module.exports = { { loader: 'postcss-loader', options: { - config: { - path: require.resolve('./postcss.config.js'), + postcssOptions: { + config: require.resolve('./postcss.config.js'), }, }, }, @@ -111,8 +111,8 @@ module.exports = { { loader: 'postcss-loader', options: { - config: { - path: require.resolve('@kbn/optimizer/postcss.config.js'), + postcssOptions: { + config: require.resolve('@kbn/optimizer/postcss.config.js'), }, }, }, @@ -142,8 +142,8 @@ module.exports = { loader: 'postcss-loader', options: { sourceMap: !isProd, - config: { - path: require.resolve('./postcss.config'), + postcssOptions: { + config: require.resolve('./postcss.config'), }, }, }, diff --git a/x-pack/plugins/canvas/storybook/canvas_webpack.ts b/x-pack/plugins/canvas/storybook/canvas_webpack.ts index e8ce5ff03b812..39a6eded270a7 100644 --- a/x-pack/plugins/canvas/storybook/canvas_webpack.ts +++ b/x-pack/plugins/canvas/storybook/canvas_webpack.ts @@ -30,7 +30,9 @@ export const canvasWebpack = { { loader: 'postcss-loader', options: { - path: resolve(KIBANA_ROOT, 'src/optimize/postcss.config.js'), + postcssOptions: { + config: resolve(KIBANA_ROOT, 'src/optimize/postcss.config.js'), + }, }, }, {