Unify coreAliasing, externalRuntime and externalRegenerator
Merge all three transformers into the `selfContained` transformer, as discussed in Gitter. Name may not be final.
This commit is contained in:
1
test/fixtures/transformation/optional-self-contained/runtime-commonjs/actual.js
vendored
Normal file
1
test/fixtures/transformation/optional-self-contained/runtime-commonjs/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import * as foo from "someModule";
|
||||
9
test/fixtures/transformation/optional-self-contained/runtime-commonjs/expected.js
vendored
Normal file
9
test/fixtures/transformation/optional-self-contained/runtime-commonjs/expected.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
var _to5Runtime = require("6to5-runtime/6to5");
|
||||
|
||||
var _core = require("6to5-runtime/core-js");
|
||||
|
||||
var _regeneratorRuntime = require("6to5-runtime/regenerator");
|
||||
|
||||
var foo = _to5Runtime.interopRequireWildcard(require("someModule"));
|
||||
Reference in New Issue
Block a user