fix: Remove useless `module.export` of package. #850

pull/892/head
tangjinzhou 2019-06-11 21:44:50 +08:00
parent 748d001ead
commit c0989ec63e
1 changed files with 0 additions and 2 deletions

View File

@ -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) {