[babel 8] Add "exports" to every package (#14013)

This commit is contained in:
Nicolò Ribaudo
2021-12-29 16:29:10 +01:00
committed by GitHub
parent 2c68d03bf2
commit d1cabf6bc8
145 changed files with 1717 additions and 125 deletions

View File

@@ -30,5 +30,17 @@
"engines": {
"node": ">=6.9.0"
},
"author": "The Babel Team (https://babel.dev/team)"
"author": "The Babel Team (https://babel.dev/team)",
"conditions": {
"BABEL_8_BREAKING": [
null,
{
"exports": null
}
]
},
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
}
}