Skip to content
Myr

Add mjs file extension

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Eduard Badillo · committed by Eduard Badillo · parent 59fcf65 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:index.js+3 added
542 unmodified lines
543 isExplicitJS = true;544 } else if (exists(localBin + '.ts')) {545 bin = localBin + '.ts';546 isExplicitJS = true;547 } else if (exists(localBin + '.mjs')) {548 bin = localBin + '.mjs';549 isExplicitJS = true;550 } else if (exists(localBin)) {551 bin = localBin;552 }553
674 unmodified lines