Add support for -sEXPORT_ES6/*.mjs on Node.js
#17915
Merged
-sEXPORT_ES6/*.mjs on Node.js
#17915