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
We could try that, but I'd rather add a flag instead of detecting the module type, for now at least. Would you be interested in working on a PR for this?
On Wed, Jul 1, 2020 at 7:00 AM Julian Gruber ***@***.***> wrote:
We could try that, but I'd rather add a flag instead of detecting the
module type, for now at least. Would you be interested in working on a PR
for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#155 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACJII7IZEMORBVA3NGZUQLRZMJLVANCNFSM4OCF5P6Q>
.
Trying to come up with node ES module, working both in browser/node.
It uses
import
.cat test.js | browser-run
givesWould that be reasonable to detect if input code uses
import
(see is-module) and include script as<script type="module"></script>
?The text was updated successfully, but these errors were encountered: