Luke Edwards
aad87857ce
fix: replace leading slash in preload’s redirect
2018-08-06 20:28:28 -07: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
31327b3780
Merge pull request #333 from sveltejs/gh-332
...
only blur activeElement if there is one
2018-08-02 10:43:27 -04:00
Rich Harris
1bcf20511b
dont emit client_info.json - fixes #318
2018-08-01 21:46:26 -04:00
Rich Harris
003fa8ab2c
only blur activeElement if there is one - fixes #332
2018-08-01 21:34:30 -04:00
Rich Harris
47a6d6f662
Merge pull request #326 from lukeed/feat/ignore
...
Add `ignore` option
2018-08-01 08:46:49 -04:00
Rich Harris
4a75fff4ec
Merge pull request #329 from sveltejs/parallel-exports
...
parallelize exports
2018-07-31 15:05:38 -04:00
Rich Harris
eae991d369
parallelize exports
2018-07-31 14:56:29 -04:00
Rich Harris
c2b393d3fd
dont minify JS when minifying HTML
2018-07-31 14:43:58 -04:00
Luke Edwards
51b4f9cbbf
add opts.ignore support
2018-07-29 14:01:44 -07:00
Rich Harris
8e3830b646
fix child.segment bug
2018-07-23 17:02:35 -04:00
Rich Harris
731d4f535c
skip layout components where none is provided - fixes #312
2018-07-23 16:31:00 -04:00
Rich Harris
39eb3be01e
-> v0.15.1
2018-07-22 21:25:33 -04:00
Rich Harris
58de0f9c99
Nested routes
...
Fixes #262
2018-07-22 21:00:37 -04:00
Rich Harris
74acf93c7a
prevent unsafe replacements of preloaded data etc
2018-07-14 20:56:05 -04:00
Rich Harris
8dc52a04e4
split pages and server routes into separate arrays
2018-07-05 08:14:07 -04:00
Rich Harris
008b607c01
generate pages and server routes separately
2018-07-04 10:53:41 -04:00
Elco Brouwer von Gonzenbach
4f011bfc37
Convert whitespace to tabs. Add some unit tests for create routes
2018-07-02 11:52:17 +07:00
Elco Brouwer von Gonzenbach
6c4ab32cf0
Sync update to sapper 0.14.0
2018-06-29 06:57:01 +07:00
Rich Harris
b7bb4db8c1
treat foo/index.json.js as foo.json.js - fixes #297
2018-06-28 13:20:41 -04:00
Rich Harris
5b5f33d3cf
error on 4xx.html and 5xx.html
2018-06-28 12:57:59 -04:00
Rich Harris
9611656b76
Merge pull request #300 from sveltejs/gh-293
...
[WIP] simplify rendering of error pages
2018-06-28 12:52:41 -04:00
Rich Harris
5c4e4d5d36
only navigate if route is found - fixes #279
2018-06-28 11:45:38 -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
57eeb5659a
return a Promise from goto - fixes #270
2018-06-27 17:32:20 -04:00
Rich Harris
087356f781
fix req.baseUrl synthesis
2018-06-27 16:57:04 -04:00
Rich Harris
5075981a90
fix handling of fatal errors - fixes #289
2018-06-26 13:49:11 -04:00
Rich Harris
0b43eaa992
blur active element on navigation - fixes #287
2018-06-18 22:44:55 -04:00
Rich Harris
47cdc1c4c8
wait until server restarts before emitting hot reload update
2018-06-18 22:31:10 -04:00
Rich Harris
31c071ad72
Merge branch 'master' of github.com:sveltejs/sapper
2018-06-18 12:22:42 -04:00
Rich Harris
e91edaee12
Merge pull request #286 from sveltejs/invalidate-client-assets
...
always refresh client_assets in dev
2018-06-18 12:22:37 -04:00
Rich Harris
34c1fee5db
Merge branch 'master' of github.com:sveltejs/sapper
2018-06-17 13:02:13 -04:00
Rich Harris
1dafe934b0
initialise rebuild stats
2018-06-17 13:01:51 -04:00
Rich Harris
e1a33c6a9b
always refresh client_assets in dev
2018-06-17 13:00:27 -04:00
Rich Harris
0800fa016b
emit a fatal event if server crashes
2018-06-16 20:18:32 -04:00
Rich Harris
f0d7a1aaab
change fatal events to be clonable, for IPC purposes
2018-06-16 13:49:19 -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
Elco Brouwer von Gonzenbach
0e2c2ca101
Correct errors in param pattern and matching patterns
2018-06-13 10:00:39 +07:00
Elco Brouwer von Gonzenbach
8015be8069
Correct spacing
2018-06-12 09:15:54 +07:00
Elco Brouwer von Gonzenbach
e39ad59589
Add regexp option to routes
2018-06-12 09:11:54 +07:00
Rich Harris
f6e012ec73
reinstate ten second interval between heartbeats - fixes #276
2018-06-05 14:35:37 -04:00
Rich Harris
8ba57969c2
oops
2018-05-26 12:39:44 -04:00
Rich Harris
58d2f605fc
expose find_page method
2018-05-26 12:31:52 -04:00
Rich Harris
e0b4319c7d
preserve webpack stats, write client assets elsewhere
2018-05-26 12:31:43 -04:00
Rich Harris
98d0df4320
work around webpack silliness
2018-05-23 22:05:40 -04:00
Rich Harris
6aa3ce4f05
make stdout etc available via api
2018-05-23 21:56:35 -04:00