Skip to content

Commit 85bab67

Browse files
committed
feat(index): migrate to object based parameters
BREAKING CHANGE: method takes in an object, rather than parameters
1 parent 9a0c538 commit 85bab67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as webpack from 'webpack'
88
*
99
* See: https://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
1010
*/
11-
export = function uglify(debug = false) {
11+
export = function uglify({debug = false}) {
1212
return function uglify(this: WebpackConfig): WebpackConfig {
1313
const options = debug ? {
1414
beautify: true, //debug

0 commit comments

Comments
 (0)