Skip to content

Commit

Permalink
chore: upgrade rollup (#12965)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 24, 2023
1 parent 965839c commit bdb2f25
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 53 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -76,7 +76,7 @@
"prettier": "2.8.5",
"resolve": "^1.22.1",
"rimraf": "^4.4.0",
"rollup": "^3.20.2",
"rollup": "^3.21.0",
"simple-git-hooks": "^2.8.1",
"tslib": "^2.5.0",
"tsx": "^3.12.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/package.json
Expand Up @@ -68,7 +68,7 @@
"dependencies": {
"esbuild": "^0.17.5",
"postcss": "^8.4.21",
"rollup": "^3.20.2"
"rollup": "^3.21.0"
},
"optionalDependencies": {
"fsevents": "~2.3.2"
Expand Down
2 changes: 0 additions & 2 deletions packages/vite/src/node/plugins/worker.ts
Expand Up @@ -240,8 +240,6 @@ export function webWorkerPlugin(config: ResolvedConfig): Plugin {
}
},

// @ts-expect-error return void to fallback to other plugins, even though
// the types doesn't allow it. https://github.com/rollup/rollup/pull/4932
shouldTransformCachedModule({ id }) {
if (isBuild && isWorkerQueryId(id) && config.build.watch) {
return true
Expand Down
98 changes: 49 additions & 49 deletions pnpm-lock.yaml

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

0 comments on commit bdb2f25

Please sign in to comment.