Skip to content

Commit 78659da

Browse files
authored
use template string
1 parent 917200d commit 78659da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/dependencies/ModuleDependencyTemplateAsId.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ModuleDependencyTemplateAsId {
99
apply(dep, source, outputOptions, requestShortener) {
1010
if(!dep.range) return;
1111
let comment = "";
12-
if(outputOptions.pathinfo) comment = "/*! " + requestShortener.shorten(dep.request) + " */ ";
12+
if(outputOptions.pathinfo) comment = `/*! ${requestShortener.shorten(dep.request)} */ `;
1313
let content;
1414
if(dep.module)
1515
content = comment + JSON.stringify(dep.module.id);

0 commit comments

Comments
 (0)