Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Jul 13, 2022
1 parent dd82461 commit ff6e703
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions packages/kbn-optimizer/src/worker/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions packages/kbn-storybook/src/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

}
12 changes: 6 additions & 6 deletions x-pack/plugins/canvas/shareable_runtime/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ module.exports = {
{
loader: 'postcss-loader',
options: {
config: {
path: require.resolve('./postcss.config.js'),
postcssOptions: {
config: require.resolve('./postcss.config.js'),
},
},
},
Expand Down Expand Up @@ -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'),
},
},
},
Expand Down Expand Up @@ -142,8 +142,8 @@ module.exports = {
loader: 'postcss-loader',
options: {
sourceMap: !isProd,
config: {
path: require.resolve('./postcss.config'),
postcssOptions: {
config: require.resolve('./postcss.config'),
},
},
},
Expand Down
4 changes: 3 additions & 1 deletion x-pack/plugins/canvas/storybook/canvas_webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
},
},
{
Expand Down

0 comments on commit ff6e703

Please sign in to comment.