Skip to content

Commit b3df46c

Browse files
committed
perf: migrate to unplugin-utils
1 parent 1b9159d commit b3df46c

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
"test:types": "tsc --noEmit"
3030
},
3131
"dependencies": {
32-
"@rollup/pluginutils": "^5.1.4",
3332
"mlly": "^1.7.4",
3433
"mocked-exports": "^0.1.1",
3534
"pathe": "^2.0.3",
36-
"unplugin": "^2.3.2"
35+
"unplugin": "^2.3.2",
36+
"unplugin-utils": "^0.2.4"
3737
},
3838
"devDependencies": {
3939
"@antfu/eslint-config": "4.12.0",

pnpm-lock.yaml

Lines changed: 12 additions & 3 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
@@ -1,7 +1,7 @@
1-
import { createFilter } from '@rollup/pluginutils'
21
import { resolvePath } from 'mlly'
32
import { isAbsolute, join, relative } from 'pathe'
43
import { createUnplugin } from 'unplugin'
4+
import { createFilter } from 'unplugin-utils'
55

66
export interface ImpoundMatcherOptions {
77
/** An array of patterns of importers to apply the import protection rules to. */

0 commit comments

Comments
 (0)