Skip to content

fix(vite-plugin): move @rollup/pluginutils to devDependencies#1164

Open
Toumash wants to merge 2 commits into
mainfrom
fix/rollup-pluginutils-to-devdep
Open

fix(vite-plugin): move @rollup/pluginutils to devDependencies#1164
Toumash wants to merge 2 commits into
mainfrom
fix/rollup-pluginutils-to-devdep

Conversation

@Toumash
Copy link
Copy Markdown
Member

@Toumash Toumash commented May 13, 2026

Summary

  • @rollup/pluginutils was listed as a runtime dependency but is only used in tests/jest.globalSetup.ts for normalizePath
  • pathe (already a runtime dependency) provides equivalent path normalization natively, so the two normalizePath() calls were replaced with direct path.join() / plain array usage
  • Moved @rollup/pluginutils to devDependencies where it belongs

Testing

All 131 tests pass (57 out + 48 e2e test files, 4 pre-existing skips).

It is only used in tests/jest.globalSetup.ts for normalizePath, which
is already handled by pathe (an existing runtime dep). Replaced the
two normalizePath() calls with direct pathe usage.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 13, 2026

⚠️ No Changeset found

Latest commit: 69675ad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant