Skip to content

Commit

Permalink
refactor: replace @rollup/pluginutils with unplugin-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Feb 5, 2025
1 parent 9de42e5 commit 45f9fc4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"vue": "^3.5.13"
},
"dependencies": {
"@rollup/pluginutils": "^5.1.4",
"debug": "^4.4.0",
"es-module-lexer": "^1.6.0",
"get-tsconfig": "^4.10.0"
"get-tsconfig": "^4.10.0",
"unplugin-utils": "^0.2.2"
},
"peerDependencies": {
"esbuild": ">=0.18.0",
Expand Down
15 changes: 12 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { extname, resolve, dirname, join } from 'path'
import { Plugin as RollupPlugin } from 'rollup'
import { transform, Loader, TransformOptions } from 'esbuild'
import { MarkOptional } from 'ts-essentials'
import { createFilter, FilterPattern } from '@rollup/pluginutils'
import { createFilter, FilterPattern } from 'unplugin-utils'
import createDebug from 'debug'
import { minify, getRenderChunk } from './minify'
import { warn } from './warn'
Expand Down

0 comments on commit 45f9fc4

Please sign in to comment.