Skip to content

Commit ce60f95

Browse files
committed
chore: update some "rollup" -> "rolldown"
1 parent a2835f6 commit ce60f95

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/vite/src/node/__tests__/build.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ describe('onRollupLog', () => {
10041004
code: 'UNRESOLVED_IMPORT',
10051005
message: 'test',
10061006
}),
1007-
).rejects.toThrowError(/Rollup failed to resolve import/)
1007+
).rejects.toThrowError(/Rolldown failed to resolve import/)
10081008
})
10091009

10101010
test.each([[`Unsupported expression`], [`statically analyzed`]])(

packages/vite/src/node/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ export function onRollupLog(
10831083
// throw unless it's commonjs external...
10841084
if (!id || !id.endsWith('?commonjs-external')) {
10851085
throw new Error(
1086-
`[vite]: Rollup failed to resolve import "${exporter}" from "${id}".\n` +
1086+
`[vite]: Rolldown failed to resolve import "${exporter}" from "${id}".\n` +
10871087
`This is most likely unintended because it can break your application at runtime.\n` +
10881088
`If you do want to externalize this module explicitly add it to\n` +
10891089
`\`build.rollupOptions.external\``,

packages/vite/src/node/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export interface UserConfig extends DefaultEnvironmentOptions {
449449
/**
450450
* Vite plugins that apply to worker bundle. The plugins returned by this function
451451
* should be new instances every time it is called, because they are used for each
452-
* rollup worker bundling process.
452+
* rolldown worker bundling process.
453453
*/
454454
plugins?: () => PluginOption[]
455455
/**

0 commit comments

Comments
 (0)