"type": "module"とするとそのパッケージ内では.jsファイルがES Modules扱いになる。拡張子を.mjsにすれば指定に関わらずES Modules扱いされる。

Reply to this note

Please Login to reply.

Discussion

No replies yet.