Skip to content

Commit fc39940

Browse files
committed
feat(index): use main module export
1 parent 2c885b5 commit fc39940

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)