Skip to content

Commit eea8e9b

Browse files
authored
docs: mention minor comment differences in migration guide (#2567)
1 parent c3572ce commit eea8e9b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

guide/migration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ const plugin = {
368368
- `renderDynamicImport` フック([rolldown#4532](https://github.com/rolldown/rolldown/issues/4532)
369369
- `resolveFileUrl` フック
370370
- `parseAst` / `parseAstAsync` 関数は、より多くの機能を持つ `parseSync` / `parse` 関数に置き換えられ、非推奨となりました。
371+
- コメントは `renderChunk` フックの後ではなく、前に削除されるようになりました
372+
- [こちら](https://rolldown.rs/reference/OutputOptions.comments)に記載されているもの以外のコメントは移動されます。一方 Rollup は、隣接するコードが削除された場合にのみコメントを削除します
371373

372374
## v6 からの移行
373375

0 commit comments

Comments
 (0)