File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ function BannerPlugin(options) {
1414 if ( arguments . length > 1 )
1515 throw new Error ( "BannerPlugin only takes one argument (pass an options object)" ) ;
1616 if ( typeof options === "string" )
17- options = { banner : options } ;
17+ options = {
18+ banner : options
19+ } ;
1820 this . options = options || { } ;
1921 this . banner = this . options . raw ? options . banner : wrapComment ( options . banner ) ;
2022}
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ function EvalSourceMapDevToolPlugin(options) {
99 if ( arguments . length > 1 )
1010 throw new Error ( "EvalSourceMapDevToolPlugin only takes one argument (pass an options object)" ) ;
1111 if ( typeof options === "string" ) {
12- options = { append : options } ;
12+ options = {
13+ append : options
14+ } ;
1315 }
1416 if ( ! options ) options = { } ;
1517 this . options = options ;
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ function SourceMapDevToolPlugin(options) {
1313 if ( arguments . length > 1 )
1414 throw new Error ( "SourceMapDevToolPlugin only takes one argument (pass an options object)" ) ;
1515 if ( typeof options === "string" ) {
16- options = { sourceMapFilename : options } ;
16+ options = {
17+ sourceMapFilename : options
18+ } ;
1719 }
1820 if ( ! options ) options = { } ;
1921 this . sourceMapFilename = options . filename ;
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ function CommonsChunkPlugin(options) {
66 if ( arguments . length > 1 )
77 throw new Error ( "CommonsChunkPlugin only takes one argument (pass an options object)" ) ;
88 if ( Array . isArray ( options ) || typeof options === "string" ) {
9- options = { name : options } ;
9+ options = {
10+ name : options
11+ } ;
1012 }
1113 this . chunkNames = options . name || options . names ;
1214 this . filenameTemplate = options . filename ;
You can’t perform that action at this time.
0 commit comments