[bugfix] fix lib dir babel runtime module (#1753)

This commit is contained in:
neverland 2018-09-03 19:38:41 +08:00 committed by GitHub
parent e61123a3d6
commit e8d12fde61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ function compile(dir, jsOnly = false) {
process.env.BABEL_MODULE = 'commonjs';
fs.copySync(esDir, libDir);
fs.copySync(srcDir, libDir);
compile(libDir);
function isDir(dir) {