What kind of module a path is, from its extension.
.js reads as ESM because that is what a Worker bundle almost always is; a caller shipping CommonJS says so explicitly rather than having it guessed from content.
.js
What kind of module a path is, from its extension.
.jsreads as ESM because that is what a Worker bundle almost always is; a caller shipping CommonJS says so explicitly rather than having it guessed from content.