Skip to content

Commit 92ea9c4

Browse files
committed
Encore.configureUrlLoader() - Replace some 'let' by 'const'
1 parent 9ca96a5 commit 92ea9c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/config-generator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class ConfigGenerator {
153153
// The url-loader can be used instead of the default file-loader by
154154
// calling Encore.configureUrlLoader({ images: {/* ... */}})
155155
let loaderName = 'file-loader';
156-
let loaderOptions = {
156+
const loaderOptions = {
157157
name: filename,
158158
publicPath: this.webpackConfig.getRealPublicPath()
159159
};
@@ -181,7 +181,7 @@ class ConfigGenerator {
181181
// The url-loader can be used instead of the default file-loader by
182182
// calling Encore.configureUrlLoader({ fonts: {/* ... */}})
183183
let loaderName = 'file-loader';
184-
let loaderOptions = {
184+
const loaderOptions = {
185185
name: filename,
186186
publicPath: this.webpackConfig.getRealPublicPath()
187187
};

0 commit comments

Comments
 (0)