Commit Graph

299 Commits

Author SHA1 Message Date
Dillon Kearns
8ce8ba37e2 Address todo comment. 2019-08-17 09:48:43 -07:00
Dillon Kearns
bebda8428b Remove unused function. 2019-08-17 09:46:31 -07:00
Dillon Kearns
1bdb2bcbf4 Remove comment. 2019-08-17 09:45:13 -07:00
Dillon Kearns
068145f1a3 Implement routes function properly. 2019-08-17 09:44:55 -07:00
Dillon Kearns
671918142b Add elm-format as a dev dependency. 2019-08-17 09:32:49 -07:00
Dillon Kearns
fd0eccd751 Clean up function. 2019-08-17 09:30:38 -07:00
Dillon Kearns
58f2c98013 Remove unnecssary function. 2019-08-17 09:27:35 -07:00
Dillon Kearns
21ff2751f8 Address elm-analyse warnings. 2019-08-17 09:24:12 -07:00
Dillon Kearns
ea6705790e Remove some unused functions. 2019-08-17 09:11:45 -07:00
Dillon Kearns
324972bd50 Remove unused value from model. 2019-08-17 09:11:22 -07:00
Dillon Kearns
e45fc59283 Fix dev server. 2019-08-17 09:09:57 -07:00
Dillon Kearns
bbe1da41de Change url after updating cache. 2019-08-17 08:31:27 -07:00
Dillon Kearns
911ec43d9a Handle parsing in lazy load task. 2019-08-17 08:23:27 -07:00
Dillon Kearns
b311200e29 Pass additional parameters to lazy load task. 2019-08-17 08:13:04 -07:00
Dillon Kearns
68fc59f716 Update logic for lazy loading task. 2019-08-17 08:09:46 -07:00
Dillon Kearns
97e36d107e Replace GotContent msg with a Task encapsulated in ContentCache. 2019-08-17 08:02:33 -07:00
Dillon Kearns
d54f0a9d4a Add UpdateCache msg. 2019-08-17 07:52:24 -07:00
Dillon Kearns
5895debcd2 Create starting point for lazy load task. 2019-08-17 07:45:58 -07:00
Dillon Kearns
af1a0eac92 Include styles in docs site. 2019-08-17 07:20:27 -07:00
Dillon Kearns
b0346fc8d1 Warmup content cache to parse content on url load. 2019-08-17 07:15:40 -07:00
Dillon Kearns
6bdee20348 Update cache warming function. 2019-08-17 07:08:53 -07:00
Dillon Kearns
22e8e1053f Add new function. 2019-08-17 06:58:52 -07:00
Dillon Kearns
6e0e07f0dc Put raw markup into cache on init. 2019-08-17 06:44:26 -07:00
Dillon Kearns
b93dd537be Refactor. 2019-08-17 06:20:15 -07:00
Dillon Kearns
83d2a4dd99 Add parseMarkupMetadata helper. 2019-08-17 06:16:36 -07:00
Dillon Kearns
1b8dd53928 Pass through additional args to ContentCache.init. 2019-08-17 06:13:36 -07:00
Dillon Kearns
e4efba66fc Pass all content to ContentCache.init. 2019-08-17 06:11:11 -07:00
Dillon Kearns
62f39d22f6 Update to latest elm-package code. 2019-08-17 06:06:42 -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
70286027fe Bump npm package to 1.0.15. 2019-08-16 18:36:18 -07:00
Dillon Kearns
4973e39850 Remove unused constant. 2019-08-16 18:35:07 -07:00
Dillon Kearns
38b6dc8419 Generate all Nothing values (only works for prod for now). 2019-08-16 18:31:25 -07:00
Dillon Kearns
431fd9d5bd Remove hardcoding for preload links. 2019-08-16 18:31:05 -07:00
Dillon Kearns
d527f94e36 Generate content.txt file for all markdown files. 2019-08-16 08:32:15 -07:00
Dillon Kearns
9fabb89c97 Add hardcoded content.txt file to assets. 2019-08-16 08:12:16 -07:00
Dillon Kearns
36a535b37c Remove favicons dependency that's obsolete after webpack version. 2019-08-15 15:58:34 -07:00
Dillon Kearns
020228f8ed Use favicons webpack plugin. 2019-08-15 15:51:19 -07:00
Dillon Kearns
824e7bf300 Pass through --debug flag for elm-pages develop. 2019-08-15 12:13:08 -07:00
Dillon Kearns
a57c737e82 Bump npm package to 1.0.14. 2019-08-15 07:31:45 -07:00
Dillon Kearns
aab81c137f Use --optimize for production build. 2019-08-14 22:04:56 -07:00
Dillon Kearns
2f394a0dda Move to workbox webpack plugin. 2019-08-14 21:43:12 -07:00
Dillon Kearns
4b721241dc Remove unneeded NPM dependencies. 2019-08-14 19:44:03 -07:00
Dillon Kearns
b61d1023fd Skip --optimize for now as it's causing errors. 2019-08-14 19:43:50 -07:00
Dillon Kearns
1eb3653a18 Fix configuration for dev/prod elm loader. 2019-08-14 19:35:00 -07:00
Dillon Kearns
937b079a4f Build service worker once static files are generated. 2019-08-14 19:16:23 -07:00
Dillon Kearns
d85d647dc6 Optimize elm build in production mode. 2019-08-14 18:31:07 -07:00
Dillon Kearns
8d53d4292a Bump npm package to 1.0.13. 2019-08-14 17:55:48 -07:00
Dillon Kearns
5679d642b4 Fix service worker to load from absolute url. 2019-08-14 17:55:41 -07:00
Dillon Kearns
b58fb84f4a Bump npm package to 1.0.12. 2019-08-14 17:42:25 -07:00