Skip to content
This repository has been archived by the owner on Mar 23, 2018. It is now read-only.

Commit

Permalink
Fix the run plugin after 0.3.0 upgrade
Browse files Browse the repository at this point in the history
The problem described here #13.
  • Loading branch information
pavds authored Aug 31, 2016
1 parent 1000da9 commit fc25b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebpackCleanupPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ class WebpackCleanupPlugin {

}

export default WebpackCleanupPlugin;
module.exports = WebpackCleanupPlugin;

This comment has been minimized.

Copy link
@Bartuz

Bartuz Aug 31, 2016

could someone explain why with 0.3 release export default WebpackCleanupPlugin stopped working?

This comment has been minimized.

Copy link
@gpbl

gpbl Aug 31, 2016

Owner

Yes, that's because I updated from Babel 5 to Babel 6. This version changed the way modules are exported when transpiled: importing the module via the old-school require wouldn't work as before.

0 comments on commit fc25b73

Please sign in to comment.