Skip to content

Commit a5347fd

Browse files
committed
chore: use types from rolldown
1 parent ae60c56 commit a5347fd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/vite/src/node/build.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
InputOption,
77
InternalModuleFormat,
88
LogLevel,
9-
// LogOrStringHandler,
9+
LogOrStringHandler,
1010
ModuleFormat,
1111
OutputBundle,
1212
OutputChunk,
@@ -87,12 +87,6 @@ import {
8787
import type { MinimalPluginContext, Plugin, PluginContext } from './plugin'
8888
import type { RollupPluginHooks } from './typeUtils'
8989

90-
// TODO: import from rolldown
91-
type LogOrStringHandler = (
92-
level: LogLevel | 'error',
93-
log: RollupLog | string,
94-
) => void
95-
9690
export interface BuildEnvironmentOptions {
9791
/**
9892
* Compatibility transform target. The transform is performed with esbuild

0 commit comments

Comments
 (0)