Skip to content

Commit eec6c4d

Browse files
committed
removed extra comment, fixed indentation
1 parent e5845ef commit eec6c4d

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

‎lib/BannerPlugin.js‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,10 @@ function wrapComment(str) {
1313
return `/*!\n * ${str.split("\n").join("\n * ")}\n */`;
1414
}
1515

16-
/*The following tokens are replaced in the name parameter:
17-
*
18-
[name] - Returns the file name.
19-
[ext] - Returns the extension. [ext] works for most available fields. ExtractTextPlugin is a notable exception to this rule.
20-
[hash] - Returns the build hash. If any portion of the build changes, this changes as well.
21-
[chunkhash] - Returns an entry chunk-specific hash. Each entry defined at the configuration receives a hash of own. If any portion of the entry changes, the hash changes as well. [chunkhash] is more granular than [hash] by definition.
22-
*/
23-
2416
const REGEXP_HASH = /\[hash:?(\d+)?\]/gi,
25-
REGEXP_CHUNKHASH = /\[chunkhash:?(\d+)?\]/gi,
26-
REGEXP_NAME = /\[name\]/gi,
27-
REGEXP_EXT = /\[ext\]/gi;
17+
REGEXP_CHUNKHASH = /\[chunkhash:?(\d+)?\]/gi,
18+
REGEXP_NAME = /\[name\]/gi,
19+
REGEXP_EXT = /\[ext\]/gi;
2820

2921
// withHashLength, getReplacer from lib/TemplatedPathPlugin.js
3022
const withHashLength = (replacer, handlerFn) => {

0 commit comments

Comments
 (0)