diff options
Diffstat (limited to 'lib/transform.js')
-rw-r--r-- | lib/transform.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/transform.js b/lib/transform.js index b6a0295a..bc08436e 100644 --- a/lib/transform.js +++ b/lib/transform.js @@ -204,6 +204,15 @@ TreeTransformer.prototype = new TreeWalker; if (self.key instanceof AST_Node) self.key = self.key.transform(tw); self.value = self.value.transform(tw); }); + DEF(AST_ExportDeclaration, function(self, tw) { + self.body = self.body.transform(tw); + }); + DEF(AST_ExportDefault, function(self, tw) { + self.body = self.body.transform(tw); + }); + DEF(AST_ExportReferences, function(self, tw) { + self.properties = do_list(self.properties, tw); + }); DEF(AST_Import, function(self, tw) { if (self.all) self.all = self.all.transform(tw); if (self.default) self.default = self.default.transform(tw); |