Hello,
Is it possible to execute ESM javascript code ?
I try to use SvelteKit which generates ESM code but it seems that only CSJ is possible.
I use NodeJS 16 (I added it to Plesk).
You can find mode info about the bug here : [adapter-node] Cannot use import statement outside a module · Issue #2410 · sveltejs/kit .
Is it possible to execute ESM javascript code ?
I try to use SvelteKit which generates ESM code but it seems that only CSJ is possible.
I use NodeJS 16 (I added it to Plesk).
You can find mode info about the bug here : [adapter-node] Cannot use import statement outside a module · Issue #2410 · sveltejs/kit .