Fabien
TTCTheo's Typesafe Cult
•Created by Fabien on 5/1/2024 in #questions
Next.js on Plesk
well ... not exactly the right import path, but that's the example I found to get me outta trouble
Nice talking to me 😅 see me next time
6 replies
TTCTheo's Typesafe Cult
•Created by Fabien on 5/1/2024 in #questions
Next.js on Plesk
// entry.cjs
async function loadApp() {
const { app } = await import("./app.js"); // this is your normal entry file - (index.js, main.js, app.mjs etc.)
}
loadApp()
6 replies
TTCTheo's Typesafe Cult
•Created by Fabien on 5/1/2024 in #questions
Next.js on Plesk
Well ... scratched a little more and got it working (having an entry.cjs calling the ".next/standalone/server.js" did the job)
6 replies