Skip to content

Commit

Permalink
Use lib.warn by default for logging Rollup warnings
Browse files Browse the repository at this point in the history
This causes the text to be displayed in a more obvious warning color.
  • Loading branch information
robertknight committed Nov 25, 2024
1 parent 30520fa commit 7a21534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as rollup from 'rollup';

/** @param {import('rollup').RollupLog} warning */
function logRollupWarning(warning) {
log.info(`Rollup warning: ${warning} (${warning.url})`);
log.warn(`Rollup warning: ${warning} (${warning.url})`);
}

/** @param {string} path */
Expand Down

0 comments on commit 7a21534

Please sign in to comment.