You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
564 B

4 years ago
  1. // These mappings represent the syntax proposals that have been
  2. // shipped by browsers, and are enabled by the `shippedProposals` option.
  3. const proposalPlugins = {};
  4. const pluginSyntaxMap = new Map([
  5. ["proposal-async-generator-functions", "syntax-async-generators"],
  6. ["proposal-object-rest-spread", "syntax-object-rest-spread"],
  7. ["proposal-optional-catch-binding", "syntax-optional-catch-binding"],
  8. ["proposal-unicode-property-regex", null],
  9. ["proposal-json-strings", "syntax-json-strings"],
  10. ]);
  11. module.exports = { proposalPlugins, pluginSyntaxMap };