Skip to content

Commit 306e250

Browse files
authored
chore: rename rollup to rolldown where appropriate (vitejs#20096)
1 parent a66afa3 commit 306e250

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To add a new language to the Vite docs, see [`vite-docs-template`](https://githu
4949

5050
Vite aims to be lightweight, and this includes being aware of the number of npm dependencies and their size.
5151

52-
We use Rollup to pre-bundle most dependencies before publishing! Therefore, most dependencies, even those used in runtime source code, should be added under `devDependencies` by default. This also creates the following constraints that we need to be aware of in the codebase.
52+
We use Rolldown to pre-bundle most dependencies before publishing! Therefore, most dependencies, even those used in runtime source code, should be added under `devDependencies` by default. This also creates the following constraints that we need to be aware of in the codebase.
5353

5454
### Usage of `require()`
5555

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export default tseslint.config(
198198
name: d,
199199
message:
200200
`devDependencies can only be imported using ESM syntax so ` +
201-
`that they are included in the rollup bundle. If you are trying to ` +
201+
`that they are included in the rolldown bundle. If you are trying to ` +
202202
`lazy load a dependency, use (await import('dependency')).default instead.`,
203203
})),
204204
],

packages/vite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
"scripts": {
7070
"dev": "premove dist && pnpm build-bundle -w",
7171
"build": "premove dist && pnpm build-bundle && pnpm build-types",
72-
"build-bundle": "rolldown --config rollup.config.ts",
72+
"build-bundle": "rolldown --config rolldown.config.ts",
7373
"build-types": "pnpm build-types-roll && pnpm build-types-check",
74-
"build-types-roll": "rolldown --config rollup.dts.config.ts",
74+
"build-types-roll": "rolldown --config rolldown.dts.config.ts",
7575
"build-types-check": "tsc --project tsconfig.check.json",
7676
"typecheck": "tsc --noEmit && tsc --noEmit -p src/node",
7777
"lint": "eslint --cache --ext .ts src/**",
File renamed without changes.

packages/vite/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "./tsconfig.base.json",
3-
"include": ["./rollup.config.ts", "./rollup.dts.config.ts", "scripts"],
3+
"include": ["rolldown.config.ts", "rolldown.dts.config.ts", "scripts"],
44
"compilerOptions": {
55
"esModuleInterop": true,
66
"declaration": false,

0 commit comments

Comments
 (0)