Skip to content

Commit

Permalink
Manual format
Browse files Browse the repository at this point in the history
  • Loading branch information
jattasNI committed Nov 13, 2024
1 parent a5ad0fe commit 52b2cca
Showing 1 changed file with 23 additions and 14 deletions.
37 changes: 23 additions & 14 deletions packages/storybook/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,31 @@ export const stories = [
'../src/nimble',
'../src/spright'
];
export const addons = [{
name: getAbsolutePath('@storybook/addon-essentials'),
options: {
outline: false,
docs: false
}
}, {
name: getAbsolutePath('@storybook/addon-docs'),
options: {
mdxPluginOptions: {
mdxCompileOptions: {
remarkPlugins: [remarkGfm]
export const addons = [
{
name: getAbsolutePath('@storybook/addon-essentials'),
options: {
outline: false,
docs: false
}
}, {
name: getAbsolutePath('@storybook/addon-docs'),
options: {
mdxPluginOptions: {
mdxCompileOptions: {
remarkPlugins: [remarkGfm]
}
}
}
}
}, getAbsolutePath('@storybook/addon-a11y'), getAbsolutePath('@storybook/addon-interactions'), getAbsolutePath('@chromatic-com/storybook'), getAbsolutePath('@storybook/addon-webpack5-compiler-swc'), getAbsolutePath('storybook-addon-pseudo-states'), getAbsolutePath('@storybook/addon-mdx-gfm')];
},
getAbsolutePath('@storybook/addon-a11y'),
getAbsolutePath('@storybook/addon-interactions'),
getAbsolutePath('@chromatic-com/storybook'),
getAbsolutePath('@storybook/addon-webpack5-compiler-swc'),
getAbsolutePath('storybook-addon-pseudo-states'),
getAbsolutePath('@storybook/addon-mdx-gfm')
];

export function webpackFinal(config) {
config.module.rules.push({
test: /\.(ts|tsx)$/,
Expand Down

0 comments on commit 52b2cca

Please sign in to comment.