Use strict namespace behavior for mjs files. (#7545)

This commit is contained in:
Logan Smyth
2018-03-15 13:27:01 -07:00
committed by GitHub
parent b6e54800b4
commit c662c2ada2
27 changed files with 83 additions and 25 deletions

View File

@@ -0,0 +1,15 @@
import "foo";
import "foo-bar";
import "./directory/foo-bar";
import foo from "foo2";
import * as foo2 from "foo3";
import {bar} from "foo4";
import {foo as bar2} from "foo5";
var test;
export {test};
export var test2 = 5;
bar;
bar2;
foo;