fix es7 export extensions compound list

This commit is contained in:
Sebastian McKenzie
2015-04-01 23:21:16 +11:00
parent 76573093bd
commit 135ba84abb
11 changed files with 58 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
"use strict";
var _foo = require("bar").foo;
var _foo = babelHelpers.interopRequire(require("bar"));
module.exports = _foo;
exports.foo = _foo;

View File

@@ -0,0 +1 @@
export v, { x, y as w } from "mod";

View File

@@ -0,0 +1,5 @@
"use strict";
import _v from "mod";
export { _v as v };
export { x, y as w } from "mod";

View File

@@ -0,0 +1,3 @@
{
"blacklist": ["es6.modules"]
}

View File

@@ -1,4 +1,4 @@
"use strict";
import { foo as _foo } from "bar";
export { _foo as default };
import _foo from "bar";
export { _foo as foo };

View File

@@ -0,0 +1 @@
export v, * as ns from "mod";

View File

@@ -0,0 +1,6 @@
"use strict";
import _v from "mod";
export { _v as v };
import * as _ns from "mod";
export { _ns as ns };

View File

@@ -0,0 +1,3 @@
{
"blacklist": ["es6.modules"]
}