Skip to content

Commit 312fda1

Browse files
authored
refactor: replace @rollup/pluginutils with unplugin-utils (#3075)
1 parent b15e015 commit 312fda1

4 files changed

Lines changed: 15 additions & 6 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"@rollup/plugin-node-resolve": "^16.0.0",
107107
"@rollup/plugin-replace": "^6.0.2",
108108
"@rollup/plugin-terser": "^0.4.4",
109-
"@rollup/pluginutils": "^5.1.4",
110109
"@types/http-proxy": "^1.17.15",
111110
"@vercel/nft": "^0.29.1",
112111
"archiver": "^7.0.1",
@@ -165,6 +164,7 @@
165164
"unctx": "^2.4.1",
166165
"unenv": "2.0.0-rc.3",
167166
"unimport": "^4.0.0",
167+
"unplugin-utils": "^0.2.3",
168168
"unstorage": "^1.14.4",
169169
"untyped": "^1.5.2",
170170
"unwasm": "^0.3.9",

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/rollup/plugins/esbuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Based on https://github.com/egoist/rollup-plugin-esbuild (MIT)
22

3-
import { createFilter } from "@rollup/pluginutils";
3+
import { createFilter } from "unplugin-utils";
44
import { type Loader, type TransformResult, transform } from "esbuild";
55
import type { EsbuildOptions } from "nitropack/types";
66
import { extname, relative } from "pathe";

src/types/rollup.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
import type { NodeFileTraceOptions } from "@vercel/nft";
33
import type { Loader as ESBuildLoader } from "esbuild";
44
import type { TransformOptions as ESBuildTransformOptions } from "esbuild";

0 commit comments

Comments
 (0)