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
docs: migration from v2 guide #474
Conversation
✅ Deploy Preview for vitejs-docs-ja ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
||
- `alias` ([`resolve.alias`](../config/shared-options.md#resolvealias) に置き換え) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このあたりのリンクですが、vitejs/vite@5791f5d (#451) に依存していたため、今のところはそのままにしてあります
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます!:pray:
内容は問題ないのですが、config ページのリンクが dead link でビルドエラーが起きているため #451 が完了してからマージいたします:bow:
(今マージするとしばらくサイト更新が止まってしまうため)
|
||
ロジックのほとんどはミドルウェアではなくプラグインのフックを介して行われるべきなので、ミドルウェアの必要性は大幅に減少しています。内部のサーバアプリは、Koa から古き良き [connect](https://github.com/senchalabs/connect) のインスタンスに変わりました。 | ||
先に Vite の v2 のドキュメントの [v1 からの移行](https://v2.vitejs.dev/guide/migration.html) を確認して、Vite v2 への移行に必要な変更を見てから、このページの変更の適用に移ってください。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
レビューありがとうございます!
失念していたのですが、こちらの https://v2.vitejs.dev/ の日本語版はどうなる予定でしょうか? (現在は英語版へのリンクになっています)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます
他の管理者の方に確認してみます!
@sapphi-red #451 に対応する PR が完了いたしましたので、origin/main を取り込んでいただき、config ページへのリンクを修正お願いします:pray: |
また、こちらの「glob インポート」というタイトルなのですが、 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます!:pray:
resolve #467
resolve #470
resolve #471
vitejs/vite@cfc37ac, vitejs/vite@f2c869d, vitejs/vite@12f8d28 の反映です。
guide/migration.md
の原文: https://github.com/vitejs/vite/blob/12f8d28bb6d1342a82d585bc54f249a6a41ea6c7/docs/guide/migration.md