diff --git a/src/index.js b/src/index.js index aa4b2370..aa876e88 100644 --- a/src/index.js +++ b/src/index.js @@ -21,7 +21,7 @@ class UglifyJsPlugin { const { uglifyOptions = {}, - test = /\.(js?)(\?.+)?$/i, + test = /\.js(\?.*)?$/i, warningsFilter = () => true, extractComments = false, sourceMap = false,