Commit Graph

29 Commits

Author SHA1 Message Date
Dillon Kearns
e057535e99 Add npm install command for new serverless function. 2021-05-14 14:19:51 -07:00
Dillon Kearns
f7f34e654b Use encoded path for screenshot URL so it works with caching (query params caused cache hits for different urls). 2021-05-10 15:58:29 -07:00
Dillon Kearns
f4e9786fed Add netlify.toml dev server setup. 2021-05-06 13:26:39 -07:00
Dillon Kearns
733c11da43 Remove temporary netlify build command that deleted html output. 2021-04-16 10:08:50 -07:00
Dillon Kearns
bf90ef45a1 Try no-optional for npm install in netlify build. 2021-04-16 10:00:36 -07:00
Dillon Kearns
89650a4eb1 Merge branch 'serverless' into static-files
# Conflicts:
#	examples/docs/package-lock.json
#	examples/docs/src/Template/BlogIndex.elm
#	examples/docs/src/Template/Page.elm
#	generator/src/cli.js
#	netlify.toml
#	package-lock.json
#	package.json
#	src/Pages/Internal/Platform/Cli.elm
#	tests/BetaStaticHttpRequestsTests.elm
#	tests/StaticHttpRequestsTests.elm
2021-04-05 19:49:08 -07:00
Dillon Kearns
45b64d86a8 Update netlify command. 2021-04-05 15:27:34 -07:00
Dillon Kearns
200712f1c5 Run explicit npm install commands to see if it works on netlify. 2021-04-05 15:15:30 -07:00
Dillon Kearns
8207633e3c Run explicit npm ci command to see if it works on netlify. 2021-04-05 15:13:33 -07:00
Dillon Kearns
45b51ceb89 Remove obsolete build command from CLI. 2021-04-05 15:11:16 -07:00
Dillon Kearns
238554457d Update build command to run elm-tooling. 2021-04-05 14:50:09 -07:00
Dillon Kearns
a6730d9535 Remove some debugging settings. 2021-04-05 14:48:22 -07:00
Dillon Kearns
565c62bccb Wire in RouteParams to static payload. 2021-04-05 07:48:26 -07:00
Dillon Kearns
b54419ae19 Delete all pre-rendered html in netlify build for testing serverless render. 2021-03-25 08:11:33 -07:00
Dillon Kearns
ec7ba930b9 Run renderer for the specific page being requested only, not all pages. 2021-03-25 08:04:59 -07:00
Dillon Kearns
cf78609367 Copy elm-pages CLI compiled Elm code to functions folder for renderer. 2021-03-23 22:19:58 -07:00
Dillon Kearns
b6fe419164 Temporarily remove root level static pre-rendered page and content.json to test out serverless version. 2021-03-23 20:14:53 -07:00
Dillon Kearns
4bd5be074b Move env variable into netlify environment section. 2021-03-23 20:13:54 -07:00
Dillon Kearns
71b32795e5 Add initial hardcoded serverless render prototype. 2021-03-23 19:34:12 -07:00
Dillon Kearns
cb2397c546
Fix netlify cache path. 2020-06-06 10:22:11 -07:00
Dillon Kearns
307489b80e Override netlify build skipping and force rebuild even if top-level directory changes. 2020-02-03 18:04:22 -08:00
Dillon Kearns
dd00f91b7d Use relative path for netlify output dir to fix build error. 2020-01-26 16:27:48 -08:00
Dillon Kearns
34b20c8345 Save Elm cache in netlify cache directory. 2020-01-26 11:33:19 -08:00
Dillon Kearns
a7bef7eed6 Update netlify config to run build script for generated elm file. 2019-09-15 21:53:32 -07:00
Dillon Kearns
c16316298d Try to fix netlify error. 2019-08-17 16:49:35 -07:00
Dillon Kearns
f11c131971 Netlify removed support for http2 push so remove that line for now. 2019-08-17 06:06:17 -07:00
Dillon Kearns
d321c487d6 Add http2 push configuration for netlify. 2019-08-16 19:24:15 -07:00
Dillon Kearns
56d8b2bb0b Remove redundant call in netlify config. 2019-08-09 12:24:36 -07:00
Dillon Kearns
1efa1df106 Add netlify.toml config file. 2019-08-08 19:13:13 -07:00