T
TanStack6mo ago
other-emerald

Is there anyway use an index.js rather than .mjs as an entry?

It doesn’t seem like there is any control over the build files??
6 Replies
metropolitan-bronze
metropolitan-bronze6mo ago
is this about the build output that nitro is producing? it needs to be an mjs since it is using ESM imports
other-emerald
other-emeraldOP6mo ago
Yeah.. I have a restricted runtime that is a common js lambda. Trying to figure out a way to make it work over here lol.
metropolitan-bronze
metropolitan-bronze6mo ago
oh wow that sounds ... restrictive 😉 what kind of runtime is that?
other-emerald
other-emeraldOP6mo ago
Salesforce commerce cloud MRT It’s challenging 😆
metropolitan-bronze
metropolitan-bronze6mo ago
are there any other restrictions?
other-emerald
other-emeraldOP6mo ago
it is kind of a black box so probably? But I have not been able to get past this first hurdle.

Did you find this page helpful?