diff --git a/tools/build_node.js b/tools/build_node.js index 3e1e0432e3..2d6c511a67 100644 --- a/tools/build_node.js +++ b/tools/build_node.js @@ -45,7 +45,7 @@ async function buildNodeLanguage(language, options) { if (!emitWarning.warned) { emitWarning.warned = true; process.emitWarning( - 'Using file extension in specifier is deprecated, use "highlight.js/lib/languages/%%%%" instead', + 'Using file extension in specifier is deprecated, use "highlight.js/lib/languages/%%%%" instead of "highlight.js/lib/languages/%%%%.js"', 'DeprecationWarning' ); }