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