Skip to content

Commit 7a82c09

Browse files
committed
refactor: replace @rollup/pluginutils with unplugin-utils
1 parent b30c6d4 commit 7a82c09

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565
"dependencies": {
6666
"@babel/parser": "^7.26.8",
6767
"@babel/types": "^7.26.8",
68-
"@rollup/pluginutils": "^5.1.4",
6968
"entities": "^6.0.0",
7069
"estree-walker": "^3.0.3",
7170
"jsesc": "^3.1.0",
7271
"magic-string": "^0.30.17",
73-
"unplugin": "^2.2.0"
72+
"unplugin": "^2.2.0",
73+
"unplugin-utils": "^0.2.4"
7474
},
7575
"devDependencies": {
7676
"@sxzz/eslint-config": "^5.1.1",

pnpm-lock.yaml

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

src/core/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ParserPlugin } from '@babel/parser'
2-
import type { FilterPattern } from '@rollup/pluginutils'
2+
import type { FilterPattern } from 'unplugin-utils'
33

44
export interface Options {
55
include?: FilterPattern

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 { transformJsxToString } from './core/convert'
44
import { resolveOptions, type Options } from './core/options'
55

0 commit comments

Comments
 (0)