Adds strictMode option to strict-mode transform (#3562)

This commit is contained in:
James Kyle
2016-07-02 13:27:57 -07:00
committed by GitHub
parent 52683f0018
commit c561312bee
8 changed files with 26 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
{
"plugins": ["external-helpers", ["transform-es2015-modules-commonjs", { "strictMode": false }]]
}

View File

@@ -0,0 +1,3 @@
import "foo";
import "foo-bar";
import "./directory/foo-bar";

View File

@@ -0,0 +1,5 @@
require("foo");
require("foo-bar");
require("./directory/foo-bar");