Skip to content

Commit

Permalink
docs: add #8626 to migration guide (#8698)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jun 21, 2022
1 parent 83286dd commit 3f9e5d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/guide/migration.md
Expand Up @@ -121,6 +121,8 @@ There are some changes which only affects plugin/tool creators.
- [[#8178] feat!: migrate to ESM](https://github.com/vitejs/vite/pull/8178)
- `formatPostcssSourceMap` is now async
- `resolvePackageEntry`, `resolvePackageData` are no longer available from CJS build (dynamic import is needed to use in CJS)
- [[#8626] refactor: type client maps](https://github.com/vitejs/vite/pull/8626)
- Type of callback of `import.meta.hot.accept` is now stricter. It is now `(mod: (Record<string, any> & { [Symbol.toStringTag]: 'Module' }) | undefined) => void` (was `(mod: any) => void`).

Also there are other breaking changes which only affect few users.

Expand Down

0 comments on commit 3f9e5d4

Please sign in to comment.