.mjs
from
.cjsや.mjsはNode.jsの仕様
ES Modules
として扱う
package.json
に
type: "module"
が設定されている場合、
.js
もESMとして扱う