Extract targets parser and compat data from preset-env (#10899)

* Extract targets parser and compat data from preset-env

* Review by Jùnliàng

* isItemRequired -> targetsSupported

* Export isRequired
This commit is contained in:
Nicolò Ribaudo
2020-01-10 03:15:20 +01:00
committed by GitHub
parent 5f807ae45b
commit 04354d1556
59 changed files with 936 additions and 707 deletions

View File

@@ -0,0 +1,4 @@
// Node < 13.3 doesn't support export maps in package.json.
// Use this proxy file as a fallback.
module.exports = require("./data/plugins.json");