[babel 8] Remove make-dir polyfill for fs.mkdirSync (#13828)

* [babel 8] Remove `make-dir` polyfill for `fs.makeDitSync`

* `yarn`

* fix

* Inject polyfills in jest tests when needed
This commit is contained in:
Nicolò Ribaudo
2021-10-11 07:01:30 +02:00
committed by GitHub
parent 49a0d65be1
commit 6880898510
8 changed files with 24 additions and 15 deletions

View File

@@ -40,7 +40,7 @@
"@babel/runtime-corejs3": "workspace:*",
"@babel/template": "workspace:*",
"@babel/types": "workspace:*",
"make-dir": "^2.1.0"
"make-dir": "condition:BABEL_8_BREAKING ? : ^2.1.0"
},
"homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-runtime",
"engines": {