Split exportExtensions into exportDefault and exportNamespace plugins… (#6920)

* Split exportExtensions into two plugins in babylon
* rename proposal-export-default to proposal-export-default-from
* rename proposal-export-namespace to proposal-export-namespace-from
This commit is contained in:
Brian Ng
2017-11-30 16:46:36 -06:00
committed by Henry Zhu
parent 9d9710c765
commit d8bbaaae0a
86 changed files with 226 additions and 348 deletions

View File

@@ -0,0 +1,7 @@
export default function() {
return {
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("exportNamespaceFrom");
},
};
}