Enable PnP linker on CI build job (#12011)

* chore: use pnp when building babel artifacts

* chore: refine ci config

* fix: match any n_m as unambiguous

The pnp module path starts from global cache path, which does not
match **/n_m

* fix: remove dedupe option and abort rollup on unexpected warning messages

* chore: suppress Circular_Dependency warning

* fix build error

* replace make bootstrap-only by yarn install
This commit is contained in:
Huáng Jùnliàng
2020-12-18 19:00:43 -05:00
committed by GitHub
parent b9deeb458b
commit d28c1e52d0
5 changed files with 19 additions and 10 deletions

View File

@@ -49,7 +49,7 @@ module.exports = function (api) {
ignoreLib = false;
// rollup-commonjs will converts node_modules to ESM
unambiguousSources.push(
"**/node_modules",
"/**/node_modules",
"packages/babel-preset-env/data",
"packages/babel-compat-data"
);