[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

@@ -38,5 +38,17 @@
"@babel/helper-validator-identifier": "workspace:^",
"charcodes": "^0.2.0"
},
"bin": "./bin/babel-parser.js"
"bin": "./bin/babel-parser.js",
"conditions": {
"BABEL_8_BREAKING": [
null,
{
"exports": null
}
]
},
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
}
}