Skip to content

Commit 8ca8904

Browse files
committed
use const where applicable in WebpackOptionsDefaulter
1 parent 1d32654 commit 8ca8904

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/WebpackOptionsDefaulter.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class WebpackOptionsDefaulter extends OptionsDefaulter {
4343
});
4444
this.set("output.filename", "[name].js");
4545
this.set("output.chunkFilename", "make", (options) => {
46-
let filename = options.output.filename;
46+
const filename = options.output.filename;
4747
return filename.indexOf("[name]") >= 0 ? filename.replace("[name]", "[id]") : "[id]." + filename;
4848
});
4949
this.set("output.library", "");

0 commit comments

Comments
 (0)