Commit Graph

184 Commits

Author SHA1 Message Date
Dillon Kearns
14fbc84130 Add admin to blacklist temporarily to test out workbox blacklist. 2019-09-28 09:52:46 -07:00
Dillon Kearns
d5d6c91a25 Make sure that directories for generated content are created if they don't exist. 2019-09-24 15:07:32 -07:00
Dillon Kearns
44ab9db1db Change webpack config to load css files from node_modules. 2019-09-24 10:02:42 -07:00
Dillon Kearns
acdf85fcb8 Merge branch 'generate-vendor-files' 2019-09-23 17:23:45 -07:00
Dillon Kearns
70918c1228 Add logging to debug netlify issue. 2019-09-23 16:51:40 -07:00
Dillon Kearns
479ad6267c Generate files to avoid having to manually copy and update vendor files. 2019-09-23 16:11:59 -07:00
Dillon Kearns
daaf47426e Change caching strategy for images. 2019-09-21 16:07:47 -07:00
Dillon Kearns
b028b0bfc8 Get navigation route working with InjectManifest workbox config. 2019-09-20 13:12:45 -07:00
Dillon Kearns
87767bab6f Use runtime caching for .js and .html files. 2019-09-19 17:01:20 -07:00
Dillon Kearns
936f278e32 Use NetworkFirst for fetching content for now. 2019-09-19 16:54:31 -07:00
Dillon Kearns
2e7a65bf1b Use clients claim and skip waiting to make sure that service worker takes over the window on the initial load (not just subsequent refreshes).
See https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle.
2019-09-17 14:14:44 -07:00
Dillon Kearns
86caa4946b Rename generated file to Pages, and former Pages module to Pages.Platform. 2019-09-15 21:51:16 -07:00
Dillon Kearns
e3fafa927f Use opaque type for Document. 2019-09-15 15:00:14 -07:00
Dillon Kearns
1b6eb7fd4c Refactor type. 2019-09-15 14:51:07 -07:00
Dillon Kearns
2b06f0dc9f Correctly generate with or without index. 2019-09-15 13:29:43 -07:00
Dillon Kearns
800e933e12 Track whether directory has index or not to allow getting index. 2019-09-15 13:19:39 -07:00
Dillon Kearns
dd86ac052f Generate directories instead of list of sub-paths. 2019-09-15 12:14:17 -07:00
Dillon Kearns
5e9167353b Pass PagePath for current page to view. 2019-09-15 10:32:38 -07:00
Dillon Kearns
bc0d58e274 Don't precache favicons (assets folder) to prevent caching errors locally. 2019-09-14 16:39:46 -07:00
Dillon Kearns
4623ecf7a5 Pass List PagePath instead of List (List String) to view function. 2019-09-13 17:53:32 -07:00
Dillon Kearns
8ce8792a94 Add missing pieces for PagePath/ImagePath refactor. 2019-09-13 14:43:40 -07:00
Dillon Kearns
0349a1c1db Change webpack alias for entry js file. 2019-09-11 05:31:32 -07:00
Dillon Kearns
8cb8141844 Escape backslashes in content strings. 2019-09-08 13:50:16 -07:00
Dillon Kearns
6b6e1718bc Change config record field name. 2019-09-08 13:40:58 -07:00
Dillon Kearns
6559e5315c Pass manifest under a field, generate body for raw content for elm-pages build for eager evaluation. 2019-09-08 11:18:58 -07:00
Dillon Kearns
f3140e7401 Rename value all to allPages. 2019-09-08 10:01:12 -07:00
Dillon Kearns
07895d8c3f Remove code for generating unused url parser. 2019-09-08 09:57:29 -07:00
Dillon Kearns
f4f435ccaf Print errors from elm parsing and fail on elm-pages build. 2019-09-08 16:32:59 +03:00
Dillon Kearns
2d2602ca9c Add siteUrl to application config record. 2019-09-08 13:01:36 +03:00
Dillon Kearns
7b6f866d79 Remove exposed value that should be private. 2019-09-07 11:13:34 +05:30
Dillon Kearns
073ec3a4c6 Add pathKey type variable to head tags. 2019-09-07 10:50:57 +05:30
Dillon Kearns
a6b25bb53d Update generator code to use new Path type. 2019-09-06 15:49:48 +05:30
Dillon Kearns
8fbd25349d Generate raw content inside of PagesNew module. 2019-09-06 09:03:11 +05:30
Dillon Kearns
2dacc6ae56 Validate links in markdown renderer. 2019-08-30 17:31:45 +05:30
Dillon Kearns
e1ac97706d Generate allImages list. 2019-08-22 07:45:36 -07:00
Dillon Kearns
c8c7efc067 Copy images to images folder. 2019-08-22 07:41:48 -07:00
Dillon Kearns
59435c7b35 Use readline to avoid error in some node versions. 2019-08-22 06:47:01 -07:00
Dillon Kearns
64edb177a6 Change code generation for new Documents API. 2019-08-22 06:33:52 -07:00
Dillon Kearns
f4acb02bc9 Add commented plugin for performance profiling. 2019-08-22 05:55:40 -07:00
Dillon Kearns
609acf0005 Change cache directory name. 2019-08-22 05:54:29 -07:00
Dillon Kearns
aed91bffce Only use progress plugin in prod build. 2019-08-22 05:50:58 -07:00
Dillon Kearns
987e74711e Show progress. 2019-08-22 05:49:12 -07:00
Dillon Kearns
212291f550 Remove comments. 2019-08-22 05:47:12 -07:00
Dillon Kearns
70feacd32a Add helper function. 2019-08-22 05:46:41 -07:00
Dillon Kearns
7a68a8602d Use google closure compiler to minify code. 2019-08-22 05:39:32 -07:00
Dillon Kearns
fac3099d7b Remove unused dependency. 2019-08-22 05:38:47 -07:00
Dillon Kearns
17c710ef44 Add nicer print out of build duration. 2019-08-22 05:38:17 -07:00
Dillon Kearns
29ec7dadd8 Remove unnecessary webpack loader rule. 2019-08-21 22:09:38 -07:00
Dillon Kearns
5e96ba697d Add caching rule to speed up subsequent imagemin builds. 2019-08-21 21:59:06 -07:00
Dillon Kearns
32d88d5537 Extract frontmatter parsing logic to common module. 2019-08-21 21:33:55 -07:00