Skip to content

Commit c0989ec

Browse files
committed
fix: Remove useless module.export of package. #850
1 parent 748d001 commit c0989ec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

antd-tools/gulpfile.js

-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ function babelify(js, modules) {
7474
delete babelConfig.cacheDirectory;
7575
if (modules === false) {
7676
babelConfig.plugins.push(replaceLib);
77-
} else {
78-
babelConfig.plugins.push(require.resolve('babel-plugin-add-module-exports'));
7977
}
8078
let stream = js.pipe(babel(babelConfig)).pipe(
8179
through2.obj(function z(file, encoding, next) {

0 commit comments

Comments
 (0)