rename runtimeES3 transformer to es3.runtime
This commit is contained in:
parent
153e81261c
commit
6bc2bfce7d
@ -40,7 +40,7 @@ function writeRootFile(filename, content) {
|
||||
}
|
||||
|
||||
function doVersion(version) {
|
||||
var transformer = "runtime" + version.toUpperCase();
|
||||
var transformer = version + ".runtime";
|
||||
|
||||
function writeFile(filename, content) {
|
||||
return writeRootFile(version + "/" + filename, content);
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{
|
||||
"useStrict": "strict",
|
||||
"runtimeES5": "runtime"
|
||||
"es5.runtime": "runtime",
|
||||
"es6.runtime": "runtime"
|
||||
}
|
||||
|
||||
@ -83,7 +83,7 @@ export default {
|
||||
// needs to be after `regenerator` due to needing `regeneratorRuntime` references
|
||||
// needs to be after `es6.forOf` due to needing `Symbol.iterator` references
|
||||
// needs to be before `es6.modules` due to dynamic imports
|
||||
runtimeES3: require("./other/runtime-es3"),
|
||||
"es3.runtime": require("./es3/runtime"),
|
||||
runtime: require("./other/runtime"),
|
||||
|
||||
// needs to be before `_blockHoist` due to function hoisting etc
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"optional": ["es3.runtime"],
|
||||
"stage": 0
|
||||
}
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"optional": ["runtimeES3"],
|
||||
"stage": 0
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user