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" },