Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

the `vp migrate` command wrongly rewrite "vite/rolldown/plugins" to "vite-plus/rolldown/plugins"

オープン
#3,050 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Crimson341 がすでに取り組んでいます。

2026年10月15日 から。

  • #3070 @Crimson341 による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, vite
領域
build-system, cli

調査の方向性

The bug is in the vp migrate command, which rewrites the import "vite/rolldown/plugins" in vite.config.ts to "vite-plus/rolldown/plugins". The payload names no source file, so first find the migration code that maps vite imports to vite-plus, then reproduce with a config containing that import. Done means that subpath stays unchanged while other vite imports are still rewritten, and a test covers this case.

索引モデルが issue の本文から書いたものです。

説明

pending triage
Describe the bug

Hi,
In [email protected] the vp migrate command wrongly rewrite import "vite/rolldown/plugins"; to import "vite-plus/rolldown/plugins";.

Thank you.

Reproduction

https://github.com/voidzero-dev/vite-plus/

Steps to reproduce
  • Install Vite+
  • Add import "vite/rolldown/plugins"; on top of vite.config.ts
  • Run vp migrate

The line will be rewritten as import "vite-plus/rolldown/plugins";

System Info
Node.js:
  Version    24.21.0
  Source     lts
  Bin Path   C:\Users\lmoulanier\.vite-plus\js_runtime\node\24.21.0\node.exe
  Installed  true
  Mode       managed

Package Manager:
  Name       pnpm
  Version    11.9.0
  Source     packageManager
  Bin Paths  
    pnpm     C:\Users\lmoulanier\.vite-plus\package_manager\pnpm\11.9.0\pnpm\bin\pnpm.cmd
    pnpx     C:\Users\lmoulanier\.vite-plus\package_manager\pnpm\11.9.0\pnpm\bin\pnpx.cmd
  Installed  true
  Mode       managed

vp v1.2.0

Local vite-plus:
  vite-plus  v1.2.0

Tools:
  vite             v8.3.4
  rolldown         v1.2.13
  vitest           v5.0.4
  oxfmt            v0.73.0
  oxlint           v1.88.0
  oxlint-tsgolint  v7.0.2004
  tsdown           v0.23.1

Environment:
  Package manager  pnpm v11.9.0
  Node.js          v24.21.0
Used Package Manager

pnpm

Logs

Validations
主要言語
Rust
スター
6k
フォーク
274
平均マージ
1日 11時間
マージ済み PR(30日)
211

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

voidzero-dev/vite-plus のほかの issue

voidzero-dev/vite-plus の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。