mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-18 09:01:39 +03:00
Add build generator step to netlify build command.
This commit is contained in:
parent
0afe0b37ca
commit
e2297cd52f
@ -1,7 +1,7 @@
|
|||||||
[build]
|
[build]
|
||||||
functions = "functions/"
|
functions = "functions/"
|
||||||
publish = "dist/"
|
publish = "dist/"
|
||||||
command = "mkdir bin && export PATH=\"/opt/build/repo/examples/pokedex/bin:$PATH\" && echo $PATH && curl https://static.lamdera.com/bin/linux/lamdera -o bin/lamdera && chmod a+x bin/lamdera && export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npx --no-install elm-tooling install) && npm install && npm run generate:tailwind && npm run generate:graphql && npm run build && cp secret-note.txt functions/server-render/"
|
command = "mkdir bin && export PATH=\"/opt/build/repo/examples/pokedex/bin:$PATH\" && echo $PATH && curl https://static.lamdera.com/bin/linux/lamdera -o bin/lamdera && chmod a+x bin/lamdera && export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npx --no-install elm-tooling install && npm run build:generator) && npm install && npm run generate:tailwind && npm run generate:graphql && npm run build && cp secret-note.txt functions/server-render/"
|
||||||
|
|
||||||
[dev]
|
[dev]
|
||||||
command = "npm start"
|
command = "npm start"
|
||||||
|
Loading…
Reference in New Issue
Block a user