Dillon Kearns
|
a0622db69d
|
Move hmr loading indicator code into hmr.js and out of Elm code.
|
2021-04-09 16:36:18 -07:00 |
|
Dillon Kearns
|
ebb78e541a
|
Retain staticHttp cache in dev server.
|
2021-04-09 13:22:12 -07:00 |
|
Dillon Kearns
|
b23c774b68
|
Print out timing of render function in logs.
|
2021-04-09 12:20:28 -07:00 |
|
Dillon Kearns
|
dc5178e861
|
Remove unused code.
|
2021-04-09 12:01:28 -07:00 |
|
Dillon Kearns
|
a6514b844f
|
Serve assets with npm package that does streaming and mime type handling. Serve up some files from the file system for simlicity.
|
2021-04-09 12:00:24 -07:00 |
|
Dillon Kearns
|
bd1170083f
|
Display request timing in dev server logs, and prevent some errors being logged by avoiding trying to read files for navigation requests.
|
2021-04-09 10:56:13 -07:00 |
|
Dillon Kearns
|
d9391cee53
|
Only apply HMR updates when content.json is free of errors.
|
2021-04-08 18:42:05 -07:00 |
|
Dillon Kearns
|
16689b7e85
|
Bust require cache when reloading Elm renderer function, re-run codegen step before running CLI Elm compilation, and await pending CLI compilation before responding to content.json requests.
|
2021-04-08 16:01:39 -07:00 |
|
Dillon Kearns
|
29c61434f2
|
Wire in elm-pages data source errors to error overlay.
|
2021-04-08 06:38:29 -07:00 |
|
Dillon Kearns
|
5d8680bc4f
|
Remove commented code.
|
2021-04-07 17:38:07 -07:00 |
|
Dillon Kearns
|
3e2b699c1f
|
Send elm compiler errors as JSON.
|
2021-04-07 17:37:49 -07:00 |
|
Dillon Kearns
|
451534addf
|
Performance: tell client to hot reload elm before compiling, wait to give requested elm.js after compilation is done.
|
2021-04-07 13:38:59 -07:00 |
|
Dillon Kearns
|
c12d562834
|
No more express! 🎉
|
2021-04-07 13:15:33 -07:00 |
|
Dillon Kearns
|
0a0ea64a1f
|
Compile Elm in dev server.
|
2021-04-07 12:17:09 -07:00 |
|
Dillon Kearns
|
4e87def89e
|
Remove log and set explicit content-type.
|
2021-04-07 08:35:51 -07:00 |
|
Dillon Kearns
|
978305765e
|
Hot reloads for content.json.
|
2021-04-07 08:22:46 -07:00 |
|
Dillon Kearns
|
80a2ea26b6
|
Wire in initial HMR for elm.js code.
|
2021-04-06 18:26:24 -07:00 |
|
Dillon Kearns
|
37d19c84d8
|
Stop converting compiled Elm to ESM.
|
2021-04-06 13:09:00 -07:00 |
|
Dillon Kearns
|
a30cb4c20c
|
Update generator.
|
2021-04-06 12:25:50 -07:00 |
|
Dillon Kearns
|
06301c7712
|
Add starting point for dev server.
|
2021-04-06 08:21:22 -07:00 |
|
Dillon Kearns
|
5f27593904
|
Add readfile and glob handlers in render function.
|
2021-04-06 06:13:33 -07:00 |
|
Dillon Kearns
|
f33eb9b094
|
Set process.exitCode instead of doing unsafe process.exit operation.
|
2021-04-06 06:12:20 -07:00 |
|
Dillon Kearns
|
745d714a44
|
Add render function to StaticResponses module.
|
2021-04-05 20:58:28 -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
|
6482a46a08
|
Handle Index.elm path.
|
2021-04-05 16:58:13 -07:00 |
|
Dillon Kearns
|
5e8a07aad6
|
Remove hardcoding.
|
2021-04-05 16:50:22 -07:00 |
|
Dillon Kearns
|
cbc232b8ce
|
Remove unused body field.
|
2021-04-05 16:31:59 -07:00 |
|
Dillon Kearns
|
e8f9b2cfa5
|
Remove unused.
|
2021-04-05 16:23:20 -07:00 |
|
Dillon Kearns
|
6a1bac4ec7
|
Remove unused code.
|
2021-04-05 16:11:12 -07:00 |
|
Dillon Kearns
|
ca9765b62a
|
Remove more webpack-related files.
|
2021-04-05 15:09:34 -07:00 |
|
Dillon Kearns
|
a6730d9535
|
Remove some debugging settings.
|
2021-04-05 14:48:22 -07:00 |
|
Dillon Kearns
|
c9c63b8a3b
|
Remove webpack dependencies! 🎉
|
2021-04-05 14:44:43 -07:00 |
|
Dillon Kearns
|
c581591114
|
Remove webpack-related files.
|
2021-04-05 14:29:27 -07:00 |
|
Dillon Kearns
|
6bc4c8aab0
|
Remove unused code.
|
2021-04-05 14:25:37 -07:00 |
|
Dillon Kearns
|
9f6d953f1c
|
Remove some webpack-related files.
|
2021-04-05 14:12:05 -07:00 |
|
Dillon Kearns
|
c6e1245c99
|
Delete unused module.
|
2021-04-05 14:03:08 -07:00 |
|
Dillon Kearns
|
5d496c3834
|
Run entrypoint directly with generated code instead of wiring it in with a Main.elm.
|
2021-04-05 13:59:21 -07:00 |
|
Dillon Kearns
|
565c62bccb
|
Wire in RouteParams to static payload.
|
2021-04-05 07:48:26 -07:00 |
|
Dillon Kearns
|
5532a7c29c
|
Generalize generated routes with route params.
|
2021-04-05 07:20:12 -07:00 |
|
Dillon Kearns
|
1f7bb61452
|
Remove some hardcoding in the generated code.
|
2021-04-05 06:35:51 -07:00 |
|
Dillon Kearns
|
c77f9caceb
|
Handle nested routes in generator script.
|
2021-04-05 06:35:23 -07:00 |
|
Dillon Kearns
|
a74254773f
|
Wire in route to staticData.
|
2021-04-04 20:47:25 -07:00 |
|
Dillon Kearns
|
02c9c16cf3
|
Remove log statement.
|
2021-04-04 19:29:29 -07:00 |
|
Dillon Kearns
|
90d39610d3
|
Handle a nested Page Template route with some hardcoding.
|
2021-04-04 18:23:48 -07:00 |
|
Dillon Kearns
|
0952b45592
|
Update scaffolding function.
|
2021-04-03 21:20:50 -07:00 |
|
Dillon Kearns
|
6ef3000011
|
Handle initial StaticHttp requests to get routes.
|
2021-04-03 13:08:02 -07:00 |
|
Dillon Kearns
|
66d407b5c8
|
Add hardcoded fetch for static routes.
|
2021-04-03 09:53:42 -07:00 |
|
Dillon Kearns
|
a149c02df3
|
Remove unused Content data.
|
2021-04-02 20:28:31 -07:00 |
|
Dillon Kearns
|
3372c04e0d
|
Remove TemplateType.
|
2021-04-02 15:29:59 -07:00 |
|
Dillon Kearns
|
1bc22f10b3
|
Remove RenderedBody references.
|
2021-04-02 15:21:17 -07:00 |
|