Skip to content

Commit 4f83fcd

Browse files
committed
fix: drop unenv dependency entirely
1 parent 70c7df2 commit 4f83fcd

File tree

3 files changed

+10
-21
lines changed

3 files changed

+10
-21
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"dependencies": {
3232
"@rollup/pluginutils": "^5.1.4",
3333
"mlly": "^1.7.4",
34+
"mocked-exports": "^0.1.0",
3435
"pathe": "^2.0.3",
35-
"unenv": "^2.0.0-rc.12",
3636
"unplugin": "^2.2.0"
3737
},
3838
"devDependencies": {

pnpm-lock.yaml

Lines changed: 8 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const RELATIVE_IMPORT_RE = /^\.\.?\//
2222

2323
export const ImpoundPlugin = createUnplugin((options: ImpoundOptions) => {
2424
const filter = createFilter(options.include, options.exclude, { resolve: options.cwd })
25-
const proxy = resolvePath('unenv/mock/proxy', { url: import.meta.url })
25+
const proxy = resolvePath('mocked-exports/proxy', { url: import.meta.url })
2626

2727
return {
2828
name: 'impound',

0 commit comments

Comments
 (0)