Skip to content

Commit

Permalink
fix(tooling): upgraded webpack version to be used for storybook (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesari3008 authored Jul 26, 2024
1 parent 0aadce6 commit 9eef570
Show file tree
Hide file tree
Showing 3 changed files with 1,065 additions and 122 deletions.
15 changes: 15 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const path = require('path');

module.exports = {
"stories": [
"../src/**/*.stories.mdx",
Expand All @@ -9,4 +11,17 @@ module.exports = {
"@storybook/preset-scss",
"storybook-addon-themes",
],

framework: '@storybook/react',
core: {
builder: 'webpack5',
},

webpackFinal: async (config) => {
config.resolve.alias = {
...config.resolve.alias,
'@webex/component-adapter-interfaces': path.resolve(__dirname, '../node_modules/@webex/component-adapter-interfaces/dist/webex-component-adapter-interfaces.es'),
};
return config;
},
}
Loading

0 comments on commit 9eef570

Please sign in to comment.