feat: add Vite 8 support - #1
Merged
Merged
Conversation
Merges the upstream Vite 8 work (vitejs/vite-plugin-vue2 issue vitejs#117, PRs vitejs#118/vitejs#119) into this fork. - Swap transformWithEsbuild for transformWithOxc (Vite 8 replaced esbuild with Oxc; transformWithOxc is the new transform API) - Wrap JSON src blocks as ES modules so the bundler can parse them - Set peerDependency to vite ^8.0.0 and dev vite to ^8.0.8 - Bump engines to Node ^20.19.0 || >=22.12.0 (Vite 8 requirement) - Modernize toolchain: unbuild 3, typescript 6, tsx for patchCJS - build.config: emit named exports; tsconfig: bundler resolution - patchCJS: match both exports["default"] and exports.default - CI/.node-version: Node 20 https://claude.ai/code/session_01A1MqJG44id3rgkdtJHeTaK
Major version bump for the Vite 8 release: the peer dependency now requires vite ^8.0.0 only (dropping Vite 3-7 support). https://claude.ai/code/session_01A1MqJG44id3rgkdtJHeTaK
Update repository/bugs/homepage URLs to beekeeper-studio/vite-plugin-vue2 and rename package references in the README to vite-ng-plugin-vue2. https://claude.ai/code/session_01A1MqJG44id3rgkdtJHeTaK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges the upstream Vite 8 work (vitejs/vite-plugin-vue2 issue vitejs#117,
PRs vitejs#118/vitejs#119) into this fork.
esbuild with Oxc; transformWithOxc is the new transform API)
https://claude.ai/code/session_01A1MqJG44id3rgkdtJHeTaK