Move generated browser-elm.js to an already ignored path.

This commit is contained in:
Dillon Kearns 2021-05-24 12:23:01 -07:00
parent 1fc19583a2
commit 86c3dac0fa
6 changed files with 5 additions and 10 deletions

View File

@ -4,5 +4,3 @@ dist/
.cache/
.elm-pages/
functions/render/elm-pages-cli.js
browser-elm.js

View File

@ -4,5 +4,3 @@ dist/
.cache/
.elm-pages/
functions/render/elm-pages-cli.js
browser-elm.js

View File

@ -4,5 +4,3 @@ dist/
.cache/
.elm-pages/
functions/render/elm-pages-cli.js
browser-elm.js

View File

@ -4,5 +4,3 @@ dist/
.cache/
.elm-pages/
functions/render/elm-pages-cli.js
browser-elm.js

View File

@ -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;

View File

@ -3,4 +3,3 @@ elm-stuff/
dist/
.elm-pages/
functions/render/elm-pages-cli.js
browser-elm.js