This commit is contained in:
fisker Cheung 2020-05-25 01:28:55 +08:00 committed by GitHub
parent 62e686af91
commit a33f0d83be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// These packages undet the @babel namespace aren't in this monorepo. // These packages under the @babel namespace aren't in this monorepo.
const externalBabelPackages = [ const externalBabelPackages = [
"plugin-syntax-async-generators", "plugin-syntax-async-generators",
"plugin-syntax-bigint", "plugin-syntax-bigint",

View File

@ -63,7 +63,7 @@ module.exports = function() {
path.join(packageFolder, "package.json") path.join(packageFolder, "package.json")
); );
} catch (e) { } catch (e) {
// Some Babel packahes aren't in this repository, but in // Some Babel packages aren't in this repository
return null; return null;
} }
@ -76,7 +76,7 @@ module.exports = function() {
return path.join( return path.join(
packageFolder, packageFolder,
// replace lib with src in the pkg.json entry // replace lib with src in the package.json entry
filename.replace(/^(\.\/)?lib\//, "src/") filename.replace(/^(\.\/)?lib\//, "src/")
); );
}, },