Add test for externalRuntime with AMD modules

This commit is contained in:
Aluísio Augusto Silva Gonçalves
2015-01-14 12:13:08 -02:00
parent e9a024e58a
commit 84ee0efe32
5 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1 @@
import foo from "someModule";

View File

@@ -0,0 +1,6 @@
define(["exports", "6to5-runtime", "someModule"], function (exports, _to5Runtime2, _someModule) {
"use strict";
var _to5Runtime = _to5Runtime2;
var foo = _to5Runtime.interopRequire(_someModule);
});

View File

@@ -0,0 +1,3 @@
{
"modules": "amd"
}