Skip to content

Commit 1b0979f

Browse files
docs(migration): fix wrong import (vitejs#17564)
1 parent a33a97f commit 1b0979f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The `resolvePackageEntry` and `resolvePackageData` APIs are removed as they expo
187187
- `resolvePackageData`: Same as above, and crawl up the package directory to get the root `package.json`. Or use the community [`vitefu`](https://github.com/svitejs/vitefu) package.
188188

189189
```js
190-
import { resolve } from 'import-meta-env'
190+
import { resolve } from 'import-meta-resolve'
191191
import { findDepPkgJsonPath } from 'vitefu'
192192
import fs from 'node:fs'
193193

0 commit comments

Comments
 (0)