diff --git a/generator/src/build.js b/generator/src/build.js index e55519fc..a8b39ec3 100755 --- a/generator/src/build.js +++ b/generator/src/build.js @@ -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 || "/"}\`;