-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: storybook clean up #116
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
"@types/prop-types": "^15", | ||
"@types/react": "^18.2.0", | ||
"@types/react-dom": "^18.2.0", | ||
"@vitejs/plugin-react": "^4.3.3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding react plugin that is used in vite config |
||
"autoprefixer": "^10.4.20", | ||
"prop-types": "^15.8.1", | ||
"react": "^18.2.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
// import path from 'path'; | ||
import react from '@vitejs/plugin-react'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updates vite config to be aligned with react https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#vitejsplugin-react- |
||
import { defineConfig } from 'vite'; | ||
|
||
export default defineConfig({ | ||
resolve: { | ||
// TO DO: Update when react component package is created | ||
// alias: { | ||
// '@components': path.resolve( | ||
// __dirname, | ||
// '../packages/react-components/src', | ||
// ), | ||
// }, | ||
Comment on lines
-6
to
-12
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not needed and out dated |
||
}, | ||
plugins: [react()], | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Storybook seems to be working without this and it was before we agreed on the names of the packages so it's a little out of date