Skip to content

Commit

Permalink
chore(web-components): upgrade storybook to v7
Browse files Browse the repository at this point in the history
Upgrade storybook to v7 and update mdx files to match mdx2 style

. #977
  • Loading branch information
GCHQ-Developer-530 committed Sep 20, 2023
1 parent 49b494e commit 3bea4c9
Show file tree
Hide file tree
Showing 6 changed files with 14,977 additions and 18,595 deletions.
20 changes: 15 additions & 5 deletions packages/web-components/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
module.exports = {
"core": {
builder: "webpack5",
disableTelemetry: true,
disableTelemetry: true
},

"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],

"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-postcss",
"@storybook/addon-a11y",
"@storybook/addon-a11y"
],
"framework": "@storybook/web-components"

"framework": {
name: "@storybook/web-components-webpack5",
options: {}
},

"staticDirs": ['../dist', '../public'],

docs: {
autodocs: true
}
}
Loading

0 comments on commit 3bea4c9

Please sign in to comment.