Nolan Lawson
03af9b1a16
add service-worker-index.html
...
fixes #422
2018-12-12 18:30:16 +00:00
Rich Harris
f50f83c4a4
strip leading slash from basepath - fixes #495
2018-10-27 11:41:02 -04:00
Rich Harris
281e183c61
ignore empty anchors when exporting
2018-10-24 15:38:45 -04:00
Rich Harris
6ae9a5e7c5
replace magic env vars with documented CLI flags
2018-10-09 08:33:25 -04:00
Rich Harris
52f40f9e63
Improve internal API
2018-10-08 19:21:15 -04:00
Rich Harris
01a519a4d9
fix everything i just broke
2018-10-01 15:47:01 -04:00
Rich Harris
8f064fe5ac
update folder structure ( #432 )
2018-09-19 12:02:11 -04:00
Rich Harris
0706b5f50a
decode req.path during export
2018-09-03 09:02:13 -04:00
Rich Harris
45f4c47a3e
oops that wasnt quite right
2018-09-02 18:41:17 -04:00
Rich Harris
a18af2a473
dont include origin in export redirects
2018-09-02 17:01:29 -04:00
Rich Harris
e170e4af9b
use builtin url module
2018-08-30 19:29:36 -04:00
Rich Harris
65d0172abe
handle non-Sapper responses when exporting - fixes #392
2018-08-30 18:22:40 -04:00
Rich Harris
85e25d6380
add a --bundler option, for forcing rollup or webpack
2018-08-28 17:29:14 -04:00
Rich Harris
8abc01551e
export should fail on timeouts
2018-08-24 14:25:48 -04:00
Rich Harris
dba83641e4
remove glob and cheerio from dependencies
2018-08-19 15:20:14 -04:00
Rich Harris
84a58f34a0
add test for exporting with custom basepath
2018-08-06 22:35:02 -04:00
Julian Burgess
a176a3b79b
Remove basepath from deferred urls and add trailing slash to root request
2018-08-06 16:43:02 +01:00
Rich Harris
eae8351f77
Better/faster exporting
...
* add --build and --build-dir options to sapper export (#325 )
* tweak export logging, update port-authority to prevent timeout bug
* better logging of export progress
* handle case where linked resource is already fetched
* default to .sapper/dev instead of .sapper
* handle query params and redirects
* dont write server_info.json either - second half of #318
* update changelog
* update lockfile
* try to track down ci test failures
* err wut
* curiouser and curiouser
* ok, seems to work now
2018-08-03 00:10:58 -04:00
Rich Harris
eae991d369
parallelize exports
2018-07-31 14:56:29 -04:00
Rich Harris
9eeeaa24c1
emit a basepath event on first run
2018-06-14 17:20:46 -04:00
Rich Harris
1a4bace5f4
add dev API
2018-05-23 09:05:24 -04:00
Rich Harris
0dbf75f100
create API for exporting
2018-05-22 11:57:24 -04:00
Rich Harris
4f49fd8d5c
create build API
2018-05-22 11:32:06 -04:00