From 6ac59195a88789c009c6ce46a11a050e3cd9f1f5 Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Tue, 13 Mar 2018 19:57:52 +0300 Subject: [PATCH] fix: test default regex --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,