Rich Harris
9e1207cdd7
fix error pages
2018-07-17 16:04:22 -04:00
Rich Harris
f126c6ac6c
only replace components for changed segments
2018-07-17 15:42:35 -04:00
Rich Harris
1f66e4c530
all tests passing
2018-07-16 16:23:43 -04:00
Rich Harris
af0bd1580d
handle errors
2018-07-16 14:49:47 -04:00
Rich Harris
8299c68678
inject fallback index.html where necessary
2018-07-16 14:18:21 -04:00
Rich Harris
f221281f8a
client-side rendering
2018-07-16 14:07:06 -04:00
Rich Harris
9dc5ba569f
server-side rendering
2018-07-16 12:06:10 -04:00
Rich Harris
6c5630f281
add more tests
2018-07-15 22:50:53 -04:00
Rich Harris
1af0f13799
Merge branch 'master' into gh-262
2018-07-14 21:59:39 -04:00
Rich Harris
74acf93c7a
prevent unsafe replacements of preloaded data etc
2018-07-14 20:56:05 -04:00
Rich Harris
80ece8b148
delete App.html
2018-07-05 09:04:38 -04:00
Rich Harris
8dc52a04e4
split pages and server routes into separate arrays
2018-07-05 08:14:07 -04:00
Rich Harris
e87247493f
replace 4xx.html and 5xx.html with _error.html
2018-06-28 11:38:21 -04:00
Rich Harris
0aeb63a05b
simplify rendering of error pages
2018-06-27 18:35:41 -04:00
Rich Harris
087356f781
fix req.baseUrl synthesis
2018-06-27 16:57:04 -04:00
Rich Harris
e1a33c6a9b
always refresh client_assets in dev
2018-06-17 13:00:27 -04:00
Rich Harris
9eeeaa24c1
emit a basepath event on first run
2018-06-14 17:20:46 -04:00
Rich Harris
9c4a3592ff
remove some unused code
2018-06-14 16:34:16 -04:00
Rich Harris
e0b4319c7d
preserve webpack stats, write client assets elsewhere
2018-05-26 12:31:43 -04:00
Rich Harris
3becc1cbe2
error on incorrect init args
2018-05-04 23:06:10 -04:00
Rich Harris
8ee5346900
switch to single App component model ( #157 )
2018-05-04 22:46:41 -04:00
Rich Harris
9e2d0a7fbc
Merge branch 'master' into collision
2018-05-04 17:05:18 -04:00
Rich Harris
1fcf3f79ee
only save the bits of client_info we need
2018-05-03 23:42:19 -04:00
Akihiko Odaki
917dd60cc3
Allow to have middleware for the path same with a HTML page
...
HTTP allows to change the type of the content to serve by Accept field in
the request. The middleware for the path same with a HTML page will
be inserted before the HTML renderer, and can take advantage of this
feature, using expressjs's "accepts" method, for example.
2018-04-15 23:11:08 +09:00
Rich-Harris
45142cd037
fix missing service worker
2018-04-06 14:44:50 -07:00
Rich-Harris
3220c522d7
attach store to error pages
2018-03-20 16:08:23 -04:00
Rich Harris
35c30ae2c5
fix server-side fetch paths
2018-03-18 22:36:55 -04:00
Rich Harris
66ac9773c0
Merge pull request #204 from nolanlawson/ignore-source-maps
...
Add support for sourcemap *.map files
2018-03-18 21:23:26 -04:00
Nolan Lawson
52dfd6e939
Don't preload .map files
2018-03-18 16:31:53 -07:00
Nolan Lawson
fc2312eba6
Add full *.map file support
2018-03-18 16:17:41 -07:00
Nolan Lawson
cf90476255
Ignore source map files in %sapper.scripts%
2018-03-18 11:13:24 -07:00
Rich Harris
1e8d7d10ab
implement this.fetch ( #178 )
2018-03-17 19:21:25 -04:00
Rich Harris
9812cbd71c
add server- and client-side store management ( #178 )
2018-03-17 13:45:59 -04:00
Rich Harris
b94481b716
Support being mounted on a path — fixes #180
2018-03-17 11:55:02 -04:00
Rich Harris
bdc248f09a
minify HTML at build time (also fixes #181 )
2018-03-11 13:35:29 -04:00
Rich Harris
be63ea7c96
add SAPPER_BASE and SAPPER_APP environment variables
2018-03-11 13:29:39 -04:00
Rich Harris
819ec0b776
minify HTML templates - fixes #15
2018-03-11 13:10:43 -04:00
Rich Harris
8ec433581a
a few small tweaks
2018-03-11 12:54:35 -04:00
Rich Harris
254e41b11e
use code-splitting etc
2018-03-10 22:26:53 -05:00