Skip to content

Vite 8#23

Draft
cmalven wants to merge 5 commits into
mainfrom
vite-8
Draft

Vite 8#23
cmalven wants to merge 5 commits into
mainfrom
vite-8

Conversation

@cmalven

@cmalven cmalven commented Mar 24, 2026

Copy link
Copy Markdown
Collaborator

Addresses #22

Comment thread package.json Outdated

@cmalven cmalven left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brianjhanson No rush, because we're still waiting on a couple of other Vite ecosystem plugins to make the jump to v8, but would be nice to get your eyeballs on this whenever you have a chance.

Comment thread .github/workflows/test.yml Outdated
Comment thread package.json
Comment thread package.json Outdated
Comment thread package.json
Comment thread package.json Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates this plugin repo to align with Vite 8’s migration from Rollup to Rolldown, including build tooling and documentation/playground updates to match the new configuration surface.

Changes:

  • Migrate build tooling from unbuild to tsdown and update package metadata/exports accordingly.
  • Update Vite config examples (README + playground) from build.rollupOptions to build.rolldownOptions and bump the playground to Vite 8.
  • Adjust internal typing from Rollup to Rolldown (InputOption) to reflect the new bundler.

Reviewed changes

Copilot reviewed 7 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tsdown.config.ts Adds tsdown build configuration (ESM + d.ts generation).
src/utils.ts Switches InputOption type import from rollup to rolldown.
playground/basic/vite.config.js Updates example config to use build.rolldownOptions.
playground/basic/package.json Bumps playground Vite dependency to ^8.0.1.
playground/basic/package-lock.json Lockfile update reflecting Vite 8 + Rolldown dependency tree.
package.json Switches to tsdown, updates exports/engines, and narrows Vite peer to ^8.
build.config.ts Removes the previous unbuild configuration file.
README.md Updates the primary example snippet to rolldownOptions.
.gitignore Adds .DS_Store to ignored files.
Files not reviewed (1)
  • playground/basic/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
Comment thread package.json
Comment thread package.json
Comment thread README.md
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.

3 participants