When importing modules in JavaScript on client side, should the module extension be .js or .mjs?
import {myFunction, myVar} from './my_module.js'
// Or
import {myFunction, myVar} from './my_module.mjs'
The following question (What is the difference between .js and .mjs files?) is really interresting, but is focused on server-side (node.js). What about client side?