Commit Graph

1345 Commits

Author SHA1 Message Date
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
33bab4a495 Update structured data to use some type safe versions. 2020-04-11 20:25:08 -07:00
Dillon Kearns
7e83160c73 Fix validation error in publisher Structured Data. 2020-04-11 09:32:59 -07:00
Dillon Kearns
7b8aa4cb1a Update structured data definitions. 2020-04-11 08:18:14 -07:00
Dillon Kearns
384fd48de3 Working MVP for adding structured data (json-ld). 2020-04-10 09:16:24 -07:00
Dillon Kearns
93913b2673 Add description to blog post. 2020-04-10 05:03:07 -07:00
Dillon Kearns
a6dcde5dde Merge branch 'master' into phantom-builder 2020-04-07 16:59:02 -07:00
Dillon Kearns
f20954e707
Fix a version in changelog. 2020-04-06 08:42:01 -07:00
Dillon Kearns
d9855fe38a Update Docs “core-concepts” 2020-04-04 16:40:23 +00:00
Dillon Kearns
2179ec635a Create Docs “core-concepts” 2020-04-04 16:40:03 +00: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
Dillon Kearns
9328cf2636 Change formatting to include trailing slash for empty cleaned route. 2020-03-28 14:20:08 -07:00
Dillon Kearns
964f9af8ad Use document.baseURI instead of looking up the base tag. 2020-03-28 14:05:19 -07:00
Dillon Kearns
6649ce7c06 Prevent base href from being set to unknown. 2020-03-28 13:56:05 -07:00
Dillon Kearns
e10c062267 Fix prefetching by checking if a route is prefetchable based on the how the URL resolves.
Uses https://developer.mozilla.org/en-US/docs/Web/API/URL/URL.
2020-03-28 13:02:35 -07:00
Steven Vandevelde
cafb9846a5 Replace String.chop in generator 2020-03-28 16:28:22 +01:00
Y0hy0h
59e061aa75 Disable Elm-specific optimizations
For the time being, we cannot guarantee that the file to be compressed is generated by Elm. Therefore we cannot apply its special optimizations.
2020-03-23 13:27:55 +01:00
Y0hy0h
0ddb724370 Run terser in parallel 2020-03-23 13:26:38 +01:00
Dillon Kearns
3c5354cfc5
Create FAQ.md 2020-03-21 14:37:06 -07:00
Y0hy0h
62b71e7509 Remove Google Closure Compiler from dependencies 2020-03-20 23:06:23 +01:00
Y0hy0h
60e62c1ec5 Replace Google Closure minifier with terser minifier 2020-03-20 23:05:43 +01:00
Dillon Kearns
a188c19c6b Update changelog. 2020-03-18 08:26:54 -07:00
Dillon Kearns
e3c094b088 Be sure to run npm run build before publishing npm package. 2020-03-18 08:22:41 -07:00
Dillon Kearns
249514ed33 1.2.11 2020-03-18 08:21:04 -07:00
Dillon Kearns
b8dcc41835
Merge pull request #84 from vViktorPL/file-content-escaping
Fix content file body string escaping for `"""` case
2020-03-18 08:19:07 -07:00