Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 24, 2024
1 parent 77b7cc2 commit 600297f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/deprecations/vd002.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ export function myPlugin(): Plugin {
}
```

For a more robust long term implemtation, plugin should provide handling for [multiple environments](TODO).
For a more robust long term implemtation, plugin should provide handling for [multiple environments](/guide/api-vite-environment.html#accessing-the-current-environment-in-hooks).
1 change: 0 additions & 1 deletion packages/vite/src/node/deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { ResolvedConfig } from './config'
const docsURL = 'https://deploy-preview-16471--vite-docs-main.netlify.app'

export interface FutureDeprecationWarningsOptions {
// TODO: have a "migration guide" page for each deprecation
pluginHookHandleHotUpdate?: boolean
pluginHookSsrArgument?: boolean

Expand Down

0 comments on commit 600297f

Please sign in to comment.