Fix typo (#11603)
This commit is contained in:
parent
62e686af91
commit
a33f0d83be
@ -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",
|
||||||
|
|||||||
@ -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/")
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user