mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-23 03:42:04 +03:00
Move generated browser-elm.js to an already ignored path.
This commit is contained in:
parent
1fc19583a2
commit
86c3dac0fa
2
examples/docs/.gitignore
vendored
2
examples/docs/.gitignore
vendored
@ -4,5 +4,3 @@ dist/
|
||||
.cache/
|
||||
.elm-pages/
|
||||
functions/render/elm-pages-cli.js
|
||||
browser-elm.js
|
||||
|
||||
|
2
examples/repos/.gitignore
vendored
2
examples/repos/.gitignore
vendored
@ -4,5 +4,3 @@ dist/
|
||||
.cache/
|
||||
.elm-pages/
|
||||
functions/render/elm-pages-cli.js
|
||||
browser-elm.js
|
||||
|
||||
|
2
examples/routing/.gitignore
vendored
2
examples/routing/.gitignore
vendored
@ -4,5 +4,3 @@ dist/
|
||||
.cache/
|
||||
.elm-pages/
|
||||
functions/render/elm-pages-cli.js
|
||||
browser-elm.js
|
||||
|
||||
|
2
examples/slides/.gitignore
vendored
2
examples/slides/.gitignore
vendored
@ -4,5 +4,3 @@ dist/
|
||||
.cache/
|
||||
.elm-pages/
|
||||
functions/render/elm-pages-cli.js
|
||||
browser-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;
|
||||
|
@ -3,4 +3,3 @@ elm-stuff/
|
||||
dist/
|
||||
.elm-pages/
|
||||
functions/render/elm-pages-cli.js
|
||||
browser-elm.js
|
||||
|
Loading…
Reference in New Issue
Block a user