Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Commit 238c373

Browse files
lencionijoshwiens
authored andcommitted
fix: typo "filterd" -> "filtered" (#37)
1 parent 821665f commit 238c373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class UglifyJsPlugin {
3636
const files = [];
3737
chunks.forEach((chunk) => files.push.apply(files, chunk.files));
3838
files.push.apply(files, compilation.additionalChunkAssets);
39-
const filterdFiles = files.filter(ModuleFilenameHelpers.matchObject.bind(undefined, options));
40-
filterdFiles.forEach((file) => {
39+
const filteredFiles = files.filter(ModuleFilenameHelpers.matchObject.bind(undefined, options));
40+
filteredFiles.forEach((file) => {
4141
const oldWarnFunction = uglify.AST_Node.warn_function;
4242
const warnings = [];
4343
let sourceMap;

0 commit comments

Comments
 (0)