Skip to content

Commit

Permalink
🧑‍💻 [#724] Switch to react-vite builder
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Nov 29, 2024
1 parent f31fad4 commit 976098d
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 93 deletions.
93 changes: 0 additions & 93 deletions .storybook/main.js

This file was deleted.

26 changes: 26 additions & 0 deletions .storybook/main.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import {StorybookConfig} from '@storybook/react-vite';

const config: StorybookConfig = {
core: {
disableTelemetry: true,
},
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'storybook-addon-theme-provider',
'storybook-react-intl',
'storybook-addon-remix-react-router',
'@storybook/addon-coverage',
'@storybook/addon-webpack5-compiler-babel',
],
framework: {
name: '@storybook/react-vite',
options: {},
},
staticDirs: ['../src/img/', '../public'],
docs: {},
};

export default config;
144 changes: 144 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"@storybook/manager-api": "^8.4.6",
"@storybook/preview-api": "^8.4.6",
"@storybook/react": "^8.4.6",
"@storybook/react-vite": "^8.4.6",
"@storybook/react-webpack5": "^8.4.6",
"@storybook/test-runner": "^0.20.0",
"@storybook/types": "^8.4.6",
Expand Down

0 comments on commit 976098d

Please sign in to comment.