From 238c373cb8c29c3b947dbd670f8444e26c2fc540 Mon Sep 17 00:00:00 2001 From: Joe Lencioni Date: Thu, 1 Jun 2017 11:06:14 -0700 Subject: [PATCH] fix: typo "filterd" -> "filtered" (#37) --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 92e6d5c2..30ede3f5 100644 --- a/src/index.js +++ b/src/index.js @@ -36,8 +36,8 @@ class UglifyJsPlugin { const files = []; chunks.forEach((chunk) => files.push.apply(files, chunk.files)); files.push.apply(files, compilation.additionalChunkAssets); - const filterdFiles = files.filter(ModuleFilenameHelpers.matchObject.bind(undefined, options)); - filterdFiles.forEach((file) => { + const filteredFiles = files.filter(ModuleFilenameHelpers.matchObject.bind(undefined, options)); + filteredFiles.forEach((file) => { const oldWarnFunction = uglify.AST_Node.warn_function; const warnings = []; let sourceMap;