diff --git a/examples/docs/.gitignore b/examples/docs/.gitignore index 41fa1c01..4fe1d6c5 100644 --- a/examples/docs/.gitignore +++ b/examples/docs/.gitignore @@ -4,5 +4,3 @@ dist/ .cache/ .elm-pages/ functions/render/elm-pages-cli.js -browser-elm.js - diff --git a/examples/repos/.gitignore b/examples/repos/.gitignore index 41fa1c01..4fe1d6c5 100644 --- a/examples/repos/.gitignore +++ b/examples/repos/.gitignore @@ -4,5 +4,3 @@ dist/ .cache/ .elm-pages/ functions/render/elm-pages-cli.js -browser-elm.js - diff --git a/examples/routing/.gitignore b/examples/routing/.gitignore index 41fa1c01..4fe1d6c5 100644 --- a/examples/routing/.gitignore +++ b/examples/routing/.gitignore @@ -4,5 +4,3 @@ dist/ .cache/ .elm-pages/ functions/render/elm-pages-cli.js -browser-elm.js - diff --git a/examples/slides/.gitignore b/examples/slides/.gitignore index 41fa1c01..4fe1d6c5 100644 --- a/examples/slides/.gitignore +++ b/examples/slides/.gitignore @@ -4,5 +4,3 @@ dist/ .cache/ .elm-pages/ functions/render/elm-pages-cli.js -browser-elm.js - diff --git a/generator/src/compile-elm.js b/generator/src/compile-elm.js index 97dd8e19..9ec4c025 100644 --- a/generator/src/compile-elm.js +++ b/generator/src/compile-elm.js @@ -4,7 +4,11 @@ const path = require("path"); const kleur = require("kleur"); const debug = true; const { inject } = require("elm-hot"); -const pathToClientElm = path.join(process.cwd(), "browser-elm.js"); +const pathToClientElm = path.join( + process.cwd(), + "elm-stuff/elm-pages/", + "browser-elm.js" +); async function spawnElmMake(elmEntrypointPath, outputPath, cwd) { const fullOutputPath = cwd ? path.join(cwd, outputPath) : outputPath; diff --git a/generator/template/gitignore b/generator/template/gitignore index b0371f83..289e75e1 100644 --- a/generator/template/gitignore +++ b/generator/template/gitignore @@ -3,4 +3,3 @@ elm-stuff/ dist/ .elm-pages/ functions/render/elm-pages-cli.js -browser-elm.js