File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ class WebpackOptionsApply extends OptionsApply {
201
201
}
202
202
203
203
if ( options . output . library || options . output . libraryTarget !== "var" ) {
204
- let LibraryTemplatePlugin = require ( "./LibraryTemplatePlugin" ) ;
204
+ const LibraryTemplatePlugin = require ( "./LibraryTemplatePlugin" ) ;
205
205
new LibraryTemplatePlugin (
206
206
options . output . library ,
207
207
options . output . libraryTarget ,
@@ -245,7 +245,7 @@ class WebpackOptionsApply extends OptionsApply {
245
245
: modern
246
246
? "\n//# source" + "MappingURL=[url]"
247
247
: null ;
248
- let Plugin = evalWrapped
248
+ const Plugin = evalWrapped
249
249
? EvalSourceMapDevToolPlugin
250
250
: SourceMapDevToolPlugin ;
251
251
new Plugin ( {
@@ -381,7 +381,7 @@ class WebpackOptionsApply extends OptionsApply {
381
381
new WarnCaseSensitiveModulesPlugin ( ) . apply ( compiler ) ;
382
382
383
383
if ( options . cache ) {
384
- let CachePlugin = require ( "./CachePlugin" ) ;
384
+ const CachePlugin = require ( "./CachePlugin" ) ;
385
385
new CachePlugin (
386
386
typeof options . cache === "object" ? options . cache : null
387
387
) . apply ( compiler ) ;
You can’t perform that action at this time.
0 commit comments