Skip to content

Commit

Permalink
fix: Remove useless module.export of package. #850
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jun 11, 2019
1 parent 748d001 commit c0989ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions antd-tools/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ function babelify(js, modules) {
delete babelConfig.cacheDirectory;
if (modules === false) {
babelConfig.plugins.push(replaceLib);
} else {
babelConfig.plugins.push(require.resolve('babel-plugin-add-module-exports'));
}
let stream = js.pipe(babel(babelConfig)).pipe(
through2.obj(function z(file, encoding, next) {
Expand Down

0 comments on commit c0989ec

Please sign in to comment.