Commit Graph

109 Commits

Author SHA1 Message Date
Dillon Kearns
290e79f2c6 Don't generate entry in routes record for 404 pages. 2019-08-20 09:21:15 -07:00
Dillon Kearns
87eaa0dd56 Use common exposing list and imports for generated Cli and Ui modules. 2019-08-20 09:04:24 -07:00
Dillon Kearns
44e8e4a960 Generate urlToString helper. 2019-08-20 09:01:32 -07:00
Dillon Kearns
5ddb958085 Change the way that elmTypes are generated for static route record. 2019-08-20 08:43:38 -07:00
Dillon Kearns
565925c44e Include generated route content. 2019-08-20 08:30:50 -07:00
Dillon Kearns
d2a0bb770a Include code for generating static route record. 2019-08-20 07:48:48 -07:00
Dillon Kearns
3bbd609692 Add jpeg compression to config. 2019-08-19 21:31:33 -07:00
Dillon Kearns
02b6189d13 Add imagemin plugin with basic png configuration. 2019-08-19 21:19:16 -07:00
Dillon Kearns
4f1a8cd205 Extract plugin to module. 2019-08-19 20:57:18 -07:00
Dillon Kearns
ae1f805510 Fix size for files in file plugin. 2019-08-19 20:50:13 -07:00
Dillon Kearns
76c91d6108 Fix AddFile plugin so that it correctly adds files that work in dev mode. 2019-08-19 20:43:37 -07:00
Dillon Kearns
9065b08320 Only include set of known extensions and files for pre-caching, and exclude icons. 2019-08-19 20:06:23 -07:00
Dillon Kearns
d5b50d11bd Prevent double leading / in content.txt for root route. 2019-08-19 19:23:33 -07:00
Dillon Kearns
5cfc291bf8 Move service worker after html and other plugins. 2019-08-19 18:57:14 -07:00
Dillon Kearns
134b66d33c Remove log statement. 2019-08-19 18:05:12 -07:00
Dillon Kearns
f79486b3b2 Reduce noise in webpack dev server. 2019-08-19 18:02:04 -07:00
Dillon Kearns
e2e81803b8 Move html plugin back before favicons. 2019-08-19 18:01:35 -07:00
Dillon Kearns
2fd8320451 Load Html plugin after favicons plugin. 2019-08-19 16:46:20 -07:00
Dillon Kearns
91ab1b328f Remove link to unused package. 2019-08-19 16:36:39 -07:00
Dillon Kearns
be2e29de6c Use sourceIcon from manifest config. 2019-08-19 16:34:48 -07:00
Dillon Kearns
d339ae4f49 Generate PagesNew.elm UI module if not present. 2019-08-19 16:27:35 -07:00
Dillon Kearns
47ff28050c Extract constant to module. 2019-08-19 16:25:30 -07:00
Dillon Kearns
6f4cdc1b05 Run elm code to get manifest config. 2019-08-19 15:58:55 -07:00
Dillon Kearns
61e3a26c0f Fix order of changing directory back after compiling elm code. 2019-08-19 15:58:31 -07:00
Dillon Kearns
8aff334828 Add helper modules to run elm from NodeJS and rewrite elm.json. 2019-08-19 15:20:20 -07:00
Dillon Kearns
07152b8fa3 Hardcode some parameters that shouldn't change. 2019-08-19 14:51:11 -07:00
Dillon Kearns
0de8f269de Include compile-elm code. 2019-08-19 10:38:13 -07:00
Dillon Kearns
df7def2454 Remove comment. 2019-08-17 18:04:43 -07:00
Dillon Kearns
e45fc59283 Fix dev server. 2019-08-17 09:09:57 -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
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
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
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
5679d642b4 Fix service worker to load from absolute url. 2019-08-14 17:55:41 -07:00
Dillon Kearns
6ce8a8d0a2 Fix the way the elm-pages module was being loaded. 2019-08-14 17:42:02 -07:00
Dillon Kearns
f8168edd69 Display webpack errors if present in elm-pages build. 2019-08-14 17:41:26 -07:00
Dillon Kearns
18687b8432 Remove commented line. 2019-08-14 17:40:45 -07:00
Dillon Kearns
025b7ff2af Try different module resolution fix for looking up node_modules. 2019-08-14 16:43:35 -07:00
Dillon Kearns
857cb8e94d Try removing resolve module option to make netlify build happy. 2019-08-14 15:47:14 -07:00
Dillon Kearns
e2c7cbad73 Use template for html file that loads service worker file. 2019-08-14 15:15:00 -07:00
Dillon Kearns
6af5a1ca11 Get css loaders working. 2019-08-14 14:31:05 -07:00