You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
This will result in a runtime error when calling greet.
Uncaught (in promise) ReferenceError: Foo is not defined
at ModuleNamespace.greet (tanspilationbug.js:7)
at System.import.then.m (eval at resolve (juicy-ace-editor.js!transpiled:NaN), <anonymous>:1:55)
The text was updated successfully, but these errors were encountered:
Our goal was to use babels transpilation only for the import/export statements and let the browser handle features such as classes / async natively.
Therefore we used the following options:
This works reasonably well, but we found the following issue. The class Foo is not in the scope the exported function greet.
Because it gets transpiled to:
This will result in a runtime error when calling greet.
The text was updated successfully, but these errors were encountered: