make it illegal to export a __esModule property - #673

This commit is contained in:
Sebastian McKenzie
2015-02-03 14:41:11 +11:00
parent 630f1717f0
commit 92d9b3ff5f
5 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1 @@
export { __esModule };

View File

@@ -0,0 +1,3 @@
{
"throws": "Illegal export __esModule - this is used internally for CommonJS interop"
}

View File

@@ -0,0 +1 @@
export var __esModule = false;

View File

@@ -0,0 +1,3 @@
{
"throws": "Illegal export __esModule - this is used internally for CommonJS interop"
}