In my next.js app I\'m using the --experimental-modules flag so I can use. can .mjs files.
"scripts": { "dev": "next dev --experiment