From 80343a1589945ff63476f7e155f26c085a854964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Thu, 19 Mar 2020 22:03:36 -0400 Subject: [PATCH] build helper-validator-identifier before babel-types --- Gulpfile.js | 10 +++++++--- packages/babel-types/package.json | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Gulpfile.js b/Gulpfile.js index 7438ba4090ea..4e77fc3baf37 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -226,9 +226,13 @@ gulp.task("build-rollup", () => buildRollup(libBundles)); gulp.task("build-babel-standalone", () => buildRollup(standaloneBundle)); gulp.task("build-babel", () => buildBabel(/* exclude */ libBundles)); -gulp.task("build-babel-types", () => - buildBabel(/* exclude */ libBundles, "packages/babel-types/src/**/*.js") -); +gulp.task("build-babel-types", () => { + buildBabel( + /* exclude */ libBundles, + "packages/babel-helper-validator-identifier/src/**/*.js" + ); + buildBabel(/* exclude */ libBundles, "packages/babel-types/src/**/*.js"); +}); gulp.task("build", gulp.parallel("build-rollup", "build-babel")); gulp.task("default", gulp.series("build")); diff --git a/packages/babel-types/package.json b/packages/babel-types/package.json index da16e6d46f1f..11c5f02fe55e 100644 --- a/packages/babel-types/package.json +++ b/packages/babel-types/package.json @@ -13,7 +13,6 @@ "types": "lib/index.d.ts", "dependencies": { "@babel/helper-validator-identifier": "^7.9.0", - "esutils": "^2.0.2", "lodash": "^4.17.13", "to-fast-properties": "^2.0.0" },