Commit Graph

1181 Commits

Author SHA1 Message Date
Dillon Kearns
b49fe854d8 Formatting. 2020-05-04 14:01:00 -07:00
Dillon Kearns
d676064acf Remove some unused code. 2020-05-04 14:00:53 -07:00
Dillon Kearns
03315da320 Change error message string. 2020-05-04 14:00:33 -07:00
Dillon Kearns
a210fcfd35 Remove unused require. 2020-05-03 20:15:52 -07:00
Dillon Kearns
73c4a2dec2 Make sure gen directory exists. 2020-05-03 17:38:34 -07:00
Dillon Kearns
8171f205fe Get build process working with new webpack setup. 2020-05-03 17:31:19 -07:00
Dillon Kearns
4c43d02f32 Remove unused code. 2020-05-03 15:57:24 -07:00
Dillon Kearns
09402d13c2 Remove unused code. 2020-05-03 15:48:02 -07:00
Dillon Kearns
0d7620935f Add a hack to make sure metadata changes come through in HMR. 2020-05-03 11:46:11 -07:00
Dillon Kearns
21c7588329 Use new lifecycle for HMR. 2020-05-03 11:40:47 -07:00
Dillon Kearns
d2968fff89 Show error overlay for metadata parsing errors. 2020-05-03 07:10:27 -07:00
Dillon Kearns
bbb6c56729 Make sure to get content.json for the current page on hot reload. 2020-05-03 07:09:35 -07:00
Dillon Kearns
cb0f4cbed4 Generate Pages.elm module from a Webpack plugin so it hooks into the lifecycle more smoothly. 2020-05-02 17:22:53 -07:00
Dillon Kearns
701e27953e Get dev server running when there is an error on initial run. 2020-04-22 18:15:37 -07:00
Dillon Kearns
003f35be3a Pull up require statement. 2020-04-22 18:03:37 -07:00
Dillon Kearns
3622269e36 Add StaticHttp.fail function. 2020-04-22 18:02:34 -07:00
Dillon Kearns
171eefbb05 Remove unused argument. 2020-04-22 18:00:46 -07:00
Dillon Kearns
e31f6d3977 Update ANSI color scheme. 2020-04-20 17:33:08 -07:00
Dillon Kearns
20339f7256 Display build errors in overlay. 2020-04-20 17:12:16 -07:00
Dillon Kearns
4aae309665 Add wiring for setting up HMR plugin with custom styling. 2020-04-20 15:12:20 -07:00
Dillon Kearns
b2e66174e9 Reorder constant declaration. 2020-04-20 15:06:58 -07:00
Dillon Kearns
613cc02b3c Update webpack html plugin. 2020-04-20 15:06:26 -07:00
Dillon Kearns
53b8b014fe Don't exit dev server process on CLI phase error, just print error for now. Eventually want to display the error like a compiler error in the browser window Webpack banner. 2020-04-19 20:03:00 -07:00
Dillon Kearns
ccc13a4ad1 Remove unneeded .emu exclusion. Fixes #78. 2020-04-19 19:52:13 -07:00
Dillon Kearns
4e8a82bd35 Change formatting. 2020-04-19 18:32:44 -07:00
Dillon Kearns
299d73d807 Remove coupling to elm-markup library. 2020-04-19 18:32:39 -07:00
Dillon Kearns
d31a59c7c5 Add missing symbols. 2020-04-19 18:31:29 -07:00
Dillon Kearns
dedeb0725d Add a test case. 2020-04-19 10:35:17 -07:00
Dillon Kearns
3c690106f4 Wire in static http cache to prevent making extra requests. 2020-04-19 08:17:51 -07:00
Dillon Kearns
33272b6c54 Use a promise to subscribe to static http data as it is updated. 2020-04-18 11:08:35 -07:00
Dillon Kearns
e395638565 Fix typo. 2020-04-18 11:08:35 -07:00
Dillon Kearns
a39269aef5
Merge pull request #97 from dillonkearns/improve-optimized-json-performance
Improve optimized json performance
2020-04-18 11:08:23 -07:00
Dillon Kearns
435724de98 Port over pipeline module. 2020-04-17 21:24:23 -07:00
Dillon Kearns
9226fdeeb5 Add some missing exposed values. 2020-04-17 21:24:12 -07:00
Dillon Kearns
5730b541a3 Use plain elm/json decoder in Browser mode, and optimizable decoder in Cli mode. 2020-04-17 20:10:25 -07:00
Dillon Kearns
f72a4588c7 Add an optimized decoder wrapper module. 2020-04-16 22:03:39 -07:00
Dillon Kearns
7c16159368 Update webpack version. 2020-04-14 21:58:26 -07:00
Dillon Kearns
27ef7c2491 Got hot content reloading working with a different hook. 2020-04-14 21:58:16 -07:00
Dillon Kearns
b614a4cd26 Run prettier. 2020-04-13 15:12:16 -07:00
Dillon Kearns
fb9d3e5ed6 Add context dependency to content folder. 2020-04-13 15:03:37 -07:00
Dillon Kearns
1882465938 Hook into after compile instead of emit. 2020-04-13 15:03:22 -07:00
Dillon Kearns
d4cee63fa8 Fix compiler error. 2020-04-13 15:02:37 -07:00
Dillon Kearns
5aa9fa8c26 Merge branch 'master' into content-hot-reloading 2020-04-12 15:18:55 -07:00
Dillon Kearns
5abe2c5378 Don't scroll to top of page when hot reloading content. 2020-04-12 15:18:18 -07:00
Dillon Kearns
93913b2673 Add description to blog post. 2020-04-10 05:03:07 -07:00
Dillon Kearns
f20954e707
Fix a version in changelog. 2020-04-06 08:42:01 -07:00
Dillon Kearns
c993d3dc9a 1.3.0 2020-03-28 16:21:37 -07:00
Dillon Kearns
03bd2d4c43 Update changelog and elm version. 2020-03-28 16:21:14 -07:00
Dillon Kearns
3fbf618354
Merge pull request #73 from icidasset/base
Make paths relative
2020-03-28 16:02:33 -07:00
Dillon Kearns
d61d4a38aa Merge branch 'master' into pr/73 2020-03-28 15:03:25 -07:00