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

chore: update peerDependencies to support Vite 5 #290

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

patak-dev
Copy link
Member

@patak-dev patak-dev commented Nov 16, 2023

Description

Vite 5 will be released today.

A new major could also be done in case we want to drop Node 16 already, but we can already support Vite 5 with a patch.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

A new major could also be done in case we want to drop Node 16 already, but we can already support Vite 5 with a patch.
@sxzz sxzz merged commit f92861a into main Nov 16, 2023
9 checks passed
@sxzz sxzz deleted the chore/vite5-peer-dep branch November 16, 2023 09:45
undergroundwires added a commit to undergroundwires/privacy.sexy that referenced this pull request Mar 13, 2024
This commit updates the `vite` dependency to the latest version (5.1.X)
and makes necessary adjustments to accommodate deprecations and new
features introduced in Vite 5.1.X.

Changes include:

- Modify the import statement for SVG files to use `query: '?raw'` syntax
  due to the deprecation of the `as: raw` option.
- Update `moduleResolution` setting to `Bundler` in `tsconfig.json` to
  support the new TypeScript 5 option, aligning with Vite 5's migration
  guide for Rollup 4 compatibility without requiring file extensions on
  relative imports.

Plugin migrations for Vite 5 support:

- Bump `@modyfi/vite-plugin-yaml`, see @modyfi/vite-plugin-yaml#22.
- Bump `electron-vite`, see alex8088/electron-vite#335.
- Bump `vitejs/plugin-legacy`.
- Bump `vitejs/vite-plugin-vue`, see vitejs/vite-plugin-vue#290.
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