Split export extensions into 2 different plugins, update stage presets (#6080)

This commit is contained in:
Sangboak Lee
2017-08-19 22:35:40 +09:00
committed by Henry Zhu
parent 6ab3b4c0e3
commit c6a094a9d2
29 changed files with 149 additions and 29 deletions

View File

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

View File

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

View File

@@ -0,0 +1 @@
export foo from "bar";

View File

@@ -0,0 +1,2 @@
import _foo from "bar";
export { _foo as foo };

View File

@@ -0,0 +1,3 @@
{
"plugins": ["external-helpers", "transform-export-default"]
}

View File

@@ -0,0 +1,3 @@
import runner from "babel-helper-plugin-test-runner";
runner(__dirname);