Commit Graph

1011 Commits

Author SHA1 Message Date
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
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
0451c8e0e5 Bump npm package to 1.0.11. 2019-08-14 16:43:40 -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
3221aed85c Bump npm package to 1.0.10. 2019-08-14 15:47:18 -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
cc84866f67 Bump npm package to 1.0.9. 2019-08-14 15:19:04 -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
Dillon Kearns
6a6668cf8b Wait for prerender trigger to pre-render pages. 2019-08-14 14:16:28 -07:00
Dillon Kearns
572e3ccb6c Build service worker for elm-pages build step. 2019-08-14 14:15:14 -07:00
Dillon Kearns
4e1b4a7627 Inject script tag in <head> to prevent elm from removing it. 2019-08-14 14:14:47 -07:00
Dillon Kearns
f18a21d3a0 Remove hardcoding of routes. 2019-08-14 13:32:53 -07:00
Dillon Kearns
e4a2be705b Get prerendering working with hardcoded list of routes. 2019-08-14 13:26:10 -07:00
Dillon Kearns
ffc324b21f Clean up repeated code. 2019-08-14 12:50:53 -07:00
Dillon Kearns
5b39c9f46c Implement elm-pages build command. 2019-08-14 12:49:00 -07:00
Dillon Kearns
62f29e151c Correctly route other html pages. 2019-08-14 12:23:54 -07:00
Dillon Kearns
f70ef558cf Serve static assets. 2019-08-14 12:17:07 -07:00
Dillon Kearns
7c89584333 Run webpack server for elm-pages build. 2019-08-14 09:57:04 -07:00
Dillon Kearns
f45cc838e9 Use require.resolve in webpack file to fix issue with local installs. 2019-08-14 09:31:23 -07:00
Dillon Kearns
33697a7043 Add webpack html plugin. 2019-08-13 16:13:07 -07:00
Dillon Kearns
77617f388c Add basic boilerplate for running webpack dev server. 2019-08-13 16:02:58 -07:00
Dillon Kearns
4bd49a6511 Add boilerplate for building with webpack middleware. 2019-08-13 13:55:13 -07:00
Dillon Kearns
a7917cf70e Add import. 2019-08-13 13:00:40 -07:00
Dillon Kearns
57c3a7b0b2 Add function for building service worker with workbox for use with CLI. 2019-08-12 20:10:21 -07:00
Dillon Kearns
eac4af3e00 Bump npm package to 1.0.8. 2019-08-12 17:37:15 -07:00
Dillon Kearns
14ef918a6c Change folder structure for published modules. 2019-08-12 17:37:09 -07:00
Dillon Kearns
ac4c0be9a8 Bump npm package to 1.0.7. 2019-08-12 16:28:02 -07:00
Dillon Kearns
8ee536249e Install favicons depdency. 2019-08-12 16:27:59 -07:00
Dillon Kearns
53c29efda7 Bump npm package to 1.0.6. 2019-08-12 16:26:42 -07:00
Dillon Kearns
1687fe0344 Add helper functions to published package. 2019-08-12 16:26:31 -07:00
Dillon Kearns
0d83e1927e Bump npm package to 1.0.5. 2019-08-11 20:03:04 -07:00
Dillon Kearns
2f9a758be9 Include markdown paths in prerender paths. 2019-08-11 20:01:59 -07:00
Dillon Kearns
2cba862b67 Clean up formatting. 2019-08-11 08:10:53 -07:00
Dillon Kearns
fd0d44836a Reduce logo size. 2019-08-11 07:58:16 -07:00
Dillon Kearns
4b531afb4f Add docs sidebar and some starting pages. 2019-08-10 18:14:13 -07:00
Dillon Kearns
e94ceee02a Make doc sidebar view helper. 2019-08-10 17:23:12 -07:00