Skip to content

Commit b7367ff

Browse files
committed
perf: replace @rollup/pluginutils with unplugin-utils
1 parent cb1eb2a commit b7367ff

File tree

4 files changed

+16
-24
lines changed

4 files changed

+16
-24
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@
8686
"test": "vitest"
8787
},
8888
"dependencies": {
89-
"@rollup/pluginutils": "^5.1.4",
9089
"es-module-lexer": "^1.6.0",
9190
"magic-string": "^0.30.17",
92-
"unplugin": "^2.1.2"
91+
"unplugin": "^2.1.2",
92+
"unplugin-utils": "^0.2.3"
9393
},
9494
"devDependencies": {
9595
"@sxzz/eslint-config": "^5.0.1",

pnpm-lock.yaml

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

src/core/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { FilterPattern } from '@rollup/pluginutils'
1+
import type { FilterPattern } from 'unplugin-utils'
22

33
export type Options = {
44
/**

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { createFilter } from '@rollup/pluginutils'
21
import { createUnplugin, type UnpluginInstance } from 'unplugin'
2+
import { createFilter } from 'unplugin-utils'
33
import {
44
getLocaleRE,
55
getViteDepPlugin,

0 commit comments

Comments
 (0)