add syntax plugins

This commit is contained in:
Sebastian McKenzie
2015-10-05 16:37:49 +01:00
parent f88cc9d509
commit 9113542b12
35 changed files with 451 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
export default function () {
return {
manipulateOptions(opts, parserOpts) {
parserOpts.features["es7.trailingFunctionCommas"] = true;
parserOpts.plugins.push("trailingFunctionCommas");
}
};
}