Formatting.

This commit is contained in:
Dillon Kearns 2023-05-15 08:48:36 -07:00
parent e756598733
commit 55587535cd

View File

@ -195,10 +195,13 @@ export async function run(options) {
import * as renderer from "./render.js";
import * as elmModule from "${path.resolve("./elm-stuff/elm-pages/elm.cjs")}";
import * as url from 'url';
${global.portsFilePath
? `import * as customBackendTask from "${path.resolve(global.portsFilePath)}";`
: `const customBackendTask = {};`
}
${
global.portsFilePath
? `import * as customBackendTask from "${path.resolve(
global.portsFilePath
)}";`
: `const customBackendTask = {};`
}
import * as preRenderHtml from "./pre-render-html.js";
const basePath = \`${options.base || "/"}\`;