-
Notifications
You must be signed in to change notification settings - Fork 1
Update vite #181
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
base: cwbi-dev
Are you sure you want to change the base?
Update vite #181
Conversation
willbreitkreutz
left a comment
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.
Bundles should just be .js instead of .jsx, probably won't break anything, but since they shouldn't handle any jsx rendering they can stay .js. Otherwise looks good.
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.
Bundles shouldn't need to be .jsx, they shouldn't have any jsx that needs to be parsed so should stay .js. Not sure if it breaks anything, but keeps the intent.
|
@willbreitkreutz is there any other changes you recommend? |
krowvin
left a comment
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.
Not sure if that index was a test file, but would change the content in it.
| @@ -1,5 +1,5 @@ | |||
| module.exports = { | |||
| content: ["./src/**/*.{html,js}"], | |||
| content: ["./src/**/*.{html,jsx}"], | |||
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.
Should you also include js here?
| <meta name="theme-color" content="#000000" /> | ||
| <meta | ||
| name="description" | ||
| content="Web site created using Vite + 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.
I would change the content, might mess with the site's SEO
Update the cumulus UI to use Vite and update the npm dependencies to remove all vulerabilities.