File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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 {
201201 }
202202
203203 if ( options . output . library || options . output . libraryTarget !== "var" ) {
204- let LibraryTemplatePlugin = require ( "./LibraryTemplatePlugin" ) ;
204+ const LibraryTemplatePlugin = require ( "./LibraryTemplatePlugin" ) ;
205205 new LibraryTemplatePlugin (
206206 options . output . library ,
207207 options . output . libraryTarget ,
@@ -245,7 +245,7 @@ class WebpackOptionsApply extends OptionsApply {
245245 : modern
246246 ? "\n//# source" + "MappingURL=[url]"
247247 : null ;
248- let Plugin = evalWrapped
248+ const Plugin = evalWrapped
249249 ? EvalSourceMapDevToolPlugin
250250 : SourceMapDevToolPlugin ;
251251 new Plugin ( {
@@ -381,7 +381,7 @@ class WebpackOptionsApply extends OptionsApply {
381381 new WarnCaseSensitiveModulesPlugin ( ) . apply ( compiler ) ;
382382
383383 if ( options . cache ) {
384- let CachePlugin = require ( "./CachePlugin" ) ;
384+ const CachePlugin = require ( "./CachePlugin" ) ;
385385 new CachePlugin (
386386 typeof options . cache === "object" ? options . cache : null
387387 ) . apply ( compiler ) ;
You can’t perform that action at this time.
0 commit comments