Skip to content

Commit

Permalink
Add missing fixture dev dep, small code removal (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Apr 17, 2023
1 parent 1acc7c9 commit 5f44ecd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
3 changes: 3 additions & 0 deletions fixtures/braid-design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"react": "^17.0.1",
"react-dom": "^17.0.1",
"sku": "workspace:*"
},
"devDependencies": {
"@vanilla-extract/css": "^1.0.0"
}
}
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
1 change: 0 additions & 1 deletion packages/sku/context/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ const paths = {
: null,
serverEntry: getPathFromCwd(skuConfig.serverEntry),
public: getPathFromCwd(skuConfig.public),
relativeTarget: skuConfig.target,
target: getPathFromCwd(skuConfig.target),
relativeTarget: skuConfig.target,
publicPath: isStartScript ? '/' : publicPath,
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5f44ecd

Please sign in to comment.