File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
packages/rolldown/src/utils Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,11 @@ export async function createBundler(
3939 )
4040
4141 const logLevel = inputOptions . logLevel || LOG_LEVEL_INFO
42- // Force `inputOptions.onLog` to `logHandler` because some rollup plugin hook tests use `options.onLog`.
43- const onLog = ( inputOptions . onLog = getLogger (
42+ const onLog = getLogger (
4443 getObjectPlugins ( inputPlugins ) ,
4544 getOnLog ( inputOptions , logLevel ) ,
4645 logLevel ,
47- ) )
46+ )
4847
4948 let plugins = [
5049 ...normalizePlugins ( inputPlugins , ANONYMOUS_PLUGIN_PREFIX ) ,
@@ -64,7 +63,7 @@ export async function createBundler(
6463 const parallelPluginInitResult = await initializeParallelPlugins ( plugins )
6564
6665 try {
67- // Convert `NormalizedInputOptions ` to `BindingInputOptions`
66+ // Convert `InputOptions ` to `BindingInputOptions`
6867 const bindingInputOptions = bindingifyInputOptions (
6968 plugins ,
7069 inputOptions ,
@@ -73,7 +72,7 @@ export async function createBundler(
7372 logLevel ,
7473 )
7574
76- // Convert `NormalizedOutputOptions ` to `BindingInputOptions`
75+ // Convert `OutputOptions ` to `BindingInputOptions`
7776 const bindingOutputOptions = bindingifyOutputOptions ( outputOptions )
7877
7978 return {
You can’t perform that action at this time.
0 commit comments