Skip to content
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

Replace CRA/WebPack with Vite #821

Merged
merged 108 commits into from
Dec 15, 2023
Merged

Replace CRA/WebPack with Vite #821

merged 108 commits into from
Dec 15, 2023

Conversation

travjenkins
Copy link
Member

@travjenkins travjenkins commented Nov 10, 2023

Issues

#824
#875

Changes

Build

  • Replace CRA with Vite since CRA is lightly supported these days and was causing a lot of our vulnerabilities. These were not a huge issue as most were dev dependencies... but still feel better on something with active development

NPM

  • Heavily clean up package.json to remove old scripts we are not actually using

Licenses

  • Update the list of allowed licenses for licensee. This means we can not break the build commit if there is a change in the licenses.

875

Tests

Manually tested

  • Lots of hitting pages in development mode and preview mode

Screenshots

No audit vulnerabilities
image

All licenses are now handled properly
image

Adding interop for callouts vite made
Switching vite config to be typescript
Updating types
Writing the version to a json file during build
Switching compression plugins
Removing build from preview
@travjenkins travjenkins merged commit 5e6db7d into main Dec 15, 2023
@travjenkins travjenkins deleted the travjenkins/deps_postCSS branch December 15, 2023 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants