Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 43182b0

Browse files
committed
transpile error log (#401)
1 parent 0ec110f commit 43182b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/dynamic-only.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,8 @@
3232
}
3333

3434
function doEnsureEvaluated() {}
35+
36+
function transpile() {
37+
throw new TypeError('ES6 transpilation is only provided in the dev module loader build.');
38+
}
3539
})();

0 commit comments

Comments
 (0)