• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.
I had exactly the same issue, resolved by adding the following (as index.cjs) to my build output and pointing plesk at that (having created a package.json with "type": "module" in the build output too):

(async () => { await import('./index.js'); })();
 
In-fact, its simplified as:
(() => import('./index.js'))();

This allows plesk to serve pages, but unclear if the swallowing of async is indicating to Plesk that the site is ready sooner than ideally. But it's working for me.
 
Back
Top