[babel 8] Add "exports" to every package (#14013)
This commit is contained in:
@@ -34,5 +34,18 @@
|
||||
"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",
|
||||
"./lib/development": "./lib/development.js",
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user