From 34d7994af7f17c3b625022c37d5ae9fc449cdc75 Mon Sep 17 00:00:00 2001 From: fisker Date: Sun, 24 May 2020 22:49:17 +0800 Subject: [PATCH] Fix typo --- jest.config.js | 2 +- scripts/rollup-plugin-babel-source.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jest.config.js b/jest.config.js index 7af88ad8ff06..6904684e4e50 100644 --- a/jest.config.js +++ b/jest.config.js @@ -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 = [ "plugin-syntax-async-generators", "plugin-syntax-bigint", diff --git a/scripts/rollup-plugin-babel-source.js b/scripts/rollup-plugin-babel-source.js index 892401a21924..14dd3bb66c42 100644 --- a/scripts/rollup-plugin-babel-source.js +++ b/scripts/rollup-plugin-babel-source.js @@ -63,7 +63,7 @@ module.exports = function() { path.join(packageFolder, "package.json") ); } catch (e) { - // Some Babel packahes aren't in this repository, but in + // Some Babel packages aren't in this repository return null; } @@ -76,7 +76,7 @@ module.exports = function() { return path.join( packageFolder, - // replace lib with src in the pkg.json entry + // replace lib with src in the package.json entry filename.replace(/^(\.\/)?lib\//, "src/") ); },