We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85bab67 commit 89c3f30Copy full SHA for 89c3f30
src/index.ts
@@ -8,7 +8,7 @@ import * as webpack from 'webpack'
8
*
9
* See: https://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
10
*/
11
-export = function uglify({debug = false}) {
+export = function uglify({debug = false} = {}) {
12
return function uglify(this: WebpackConfig): WebpackConfig {
13
const options = debug ? {
14
beautify: true, //debug
0 commit comments