fix: supply ‘.’ subpath for node.js < 13.2 (#11006)

This commit is contained in:
Huáng Jùnliàng 2020-01-14 22:54:41 -05:00 committed by GitHub
parent 9df70b4505
commit e7961a08a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,9 @@
"description": "Engine compat data used in @babel/preset-env", "description": "Engine compat data used in @babel/preset-env",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-compilation-targets", "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-compilation-targets",
"main": "lib/index.js", "main": "lib/index.js",
"exports": false, "exports": {
".": "./lib/index.js"
},
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },