Skip to content

Commit bdb2f25

Browse files
authoredApr 24, 2023
chore: upgrade rollup (#12965)
1 parent 965839c commit bdb2f25

File tree

4 files changed

+51
-53
lines changed

4 files changed

+51
-53
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"prettier": "2.8.5",
7777
"resolve": "^1.22.1",
7878
"rimraf": "^4.4.0",
79-
"rollup": "^3.20.2",
79+
"rollup": "^3.21.0",
8080
"simple-git-hooks": "^2.8.1",
8181
"tslib": "^2.5.0",
8282
"tsx": "^3.12.6",

‎packages/vite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"dependencies": {
6969
"esbuild": "^0.17.5",
7070
"postcss": "^8.4.21",
71-
"rollup": "^3.20.2"
71+
"rollup": "^3.21.0"
7272
},
7373
"optionalDependencies": {
7474
"fsevents": "~2.3.2"

‎packages/vite/src/node/plugins/worker.ts

-2
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ export function webWorkerPlugin(config: ResolvedConfig): Plugin {
240240
}
241241
},
242242

243-
// @ts-expect-error return void to fallback to other plugins, even though
244-
// the types doesn't allow it. https://github.com/rollup/rollup/pull/4932
245243
shouldTransformCachedModule({ id }) {
246244
if (isBuild && isWorkerQueryId(id) && config.build.watch) {
247245
return true

‎pnpm-lock.yaml

+49-49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.