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

Commit f9e55fe

Browse files
evilebottnawimichael-ciniawsky
authored andcommitted
fix(index): correct default asset name {RegExp} (options.test) (#259)
1 parent d3aae1c commit f9e55fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class UglifyJsPlugin {
2121

2222
const {
2323
uglifyOptions = {},
24-
test = /\.(js?)(\?.+)?$/i,
24+
test = /\.js(\?.*)?$/i,
2525
warningsFilter = () => true,
2626
extractComments = false,
2727
sourceMap = false,

0 commit comments

Comments
 (0)