Skip to content

Commit

Permalink
ci(storybook): turn off source map
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny1020 committed Jul 8, 2024
1 parent 963d99b commit cce93ca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
typescript: {
reactDocgen: 'react-docgen-typescript'
},
viteFinal: (config) => {

Check failure on line 19 in .storybook/main.ts

View workflow job for this annotation

GitHub Actions / eslint

'config' is already declared in the upper scope on line 3 column 7
return {
...config,
build: {
...config.build,
sourcemap: false,
target: ['es2020']
}
}
}
}
export default config

0 comments on commit cce93ca

Please sign in to comment.