Skip to content

Commit

Permalink
fix(storybook): fix storybook images
Browse files Browse the repository at this point in the history
  • Loading branch information
emile-bex committed Dec 4, 2023
1 parent e5b75bc commit e62ee06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
core: {
builder: '@storybook/builder-webpack5',
},
staticDirs: ['../public'],
webpackFinal: async (config) => {
config.resolve.modules = [
path.resolve(__dirname, '..', './'),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"uikit:update": "cd ./node_modules/uikit/ && git pull && yarn",
"uikit:compile": "cp -r ./assets/custom/ ./node_modules/uikit/custom/ && cd ./node_modules/uikit && yarn compile && cd ../../ && cp -r ./node_modules/uikit/dist ./src/styles/ && cp ./node_modules/uikit/dist/css/*.print.* ./public/static/css/",
"prepare": "husky install",
"storybook": "start-storybook -p 6006 -s ./public",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"chromatic": "chromatic --exit-zero-on-changes",
"cypress:io": "npx cypress run --record --key $(grep CYPRESS_IO_KEY .env | cut -d '=' -f2)",
Expand Down

0 comments on commit e62ee06

Please sign in to comment.