Skip to content

Commit

Permalink
Remove unnecessary CI check from storybook webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Apr 16, 2023
1 parent 0c7350f commit 04417d9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/sku/config/storybook/storybookWebpackConfig.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
const webpack = require('webpack');
const { paths } = require('../../context');
const find = require('lodash/find');
const { merge: webpackMerge } = require('webpack-merge');
const isCI = require('../../lib/isCI');
const makeWebpackConfig = require('../webpack/webpack.config');
const { resolvePackage } = require('../webpack/utils/resolvePackage');

const hot = process.env.SKU_HOT !== 'false';

module.exports = ({ config }, { isDevServer }) => {
if (isCI) {
// Remove noisy progress plugin in CI, currently no official option to disable
// https://github.com/storybookjs/storybook/issues/1260#issuecomment-308036626
config.plugins = config.plugins.filter(
(plugin) => !(plugin instanceof webpack.ProgressPlugin),
);
}

const clientWebpackConfig = find(
makeWebpackConfig({
isIntegration: true,
Expand Down

0 comments on commit 04417d9

Please sign in to comment.