Skip to content

Commit

Permalink
Fix storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
folkforms committed May 8, 2024
1 parent 4cae9fa commit efa1998
Show file tree
Hide file tree
Showing 3 changed files with 22,736 additions and 28,565 deletions.
14 changes: 14 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
const custom = require("../webpack.config.js");

module.exports = {
stories: [
"../packages/**/*.stories.mdx",
"../packages/**/*.stories.@(js|jsx|ts|tsx)",
],
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
webpackFinal: (config) => {
return {
...config,
module: {
rules: custom.module.rules,
},
resolve: {
...config.resolve,
...custom.resolve,
},
};
},
};
17 changes: 0 additions & 17 deletions .storybook/webpack.config.js

This file was deleted.

Loading

0 comments on commit efa1998

Please sign in to comment.