Rich Harris
971342ac7a
set preloading: true when appropriate
2018-05-04 23:23:41 -04:00
Rich Harris
8ee5346900
switch to single App component model ( #157 )
2018-05-04 22:46:41 -04:00
Rich Harris
b525eb6480
get tests passing
2018-05-04 17:19:39 -04:00
Rich Harris
9e2d0a7fbc
Merge branch 'master' into collision
2018-05-04 17:05:18 -04:00
Akihiko Odaki
ba7525c676
Ignore files and directories with leading dots except .well-known
2018-05-04 22:18:23 +09:00
Rich Harris
ad7c872ee3
Merge pull request #250 from sveltejs/gh-240
...
implement --launcher
2018-05-03 23:49:06 -04:00
Rich Harris
f4eac2515f
fix tests
2018-05-03 23:23:02 -04:00
Rich Harris
d7a9074c69
implement --launcher
2018-05-03 23:04:05 -04:00
Rich Harris
b10edddc96
cheat
2018-05-03 22:01:14 -04:00
Rich Harris
93b2d12438
Merge branch 'master' into gh-140
2018-05-03 21:54:52 -04:00
Rich Harris
7303e811be
update tests, move test app to v2
2018-05-03 21:54:23 -04:00
Rich Harris
992d89027d
Merge branch 'master' into collision
2018-05-03 21:44:28 -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
Akihiko Odaki
b13cc6f39a
Do not encode characters allowed in path when generating routes
...
In RFC 3986, some characters not allowed in query, which encodeURIComponent
is designed for, is allowed in path.
A notable example is "@", which is commonly included in paths of social
profile pages. Such characters should not be encoded.
The new encoding function is conforming to the RFC.
2018-04-14 01:08:27 +09:00
Rich-Harris
45142cd037
fix missing service worker
2018-04-06 14:44:50 -07:00
Rich-Harris
25809ec409
enforce stable sort
2018-03-25 15:12:35 -04:00
Rich Harris
35c30ae2c5
fix server-side fetch paths
2018-03-18 22:36:55 -04:00
Rich Harris
a6b1527fd3
try using mousemove in tests
2018-03-18 21:53:13 -04: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
67463683cc
simplify tests
2018-03-17 13:18:18 -04:00
Rich Harris
b94481b716
Support being mounted on a path — fixes #180
2018-03-17 11:55:02 -04:00
Rich Harris
8ec433581a
a few small tweaks
2018-03-11 12:54:35 -04:00
Rich Harris
ef55fc5ddd
move built files to dist
2018-03-10 23:20:11 -05:00
Rich Harris
254e41b11e
use code-splitting etc
2018-03-10 22:26:53 -05:00
Rich Harris
45b1147228
use devalue instead of serialize-javascript - fixes #112
2018-03-10 19:27:04 -05:00
Rich Harris
1eed1023aa
switch to polka, remove unused deps
2018-03-10 09:39:07 -05:00
Rich Harris
8bb0999878
fix route sorting
2018-03-07 14:26:30 -05:00
Rich Harris
a66ac00d42
tidy up tests
2018-03-05 15:09:51 -05:00
Rich Harris
329c113723
rename preloadRoutes to prefetchRoutes
2018-03-04 22:38:55 -05:00
Rich Harris
b405e5878e
Merge branch 'master' into gh-103
2018-03-04 19:00:28 -05:00
Rich Harris
854147fa6c
URI-encodes routes - fixes #103
2018-03-04 18:59:35 -05:00
Rich Harris
7e2f5f8fb6
add preloadRoutes function - closes #160
2018-03-04 18:05:33 -05:00
Rich Harris
368e6d5cb1
bump timeout for travis
2018-03-04 15:27:35 -05:00
Rich Harris
0165c14fd9
update webpack/config
2018-03-04 12:35:13 -05:00
Rich Harris
09422e3c5a
Merge branch 'master' into gh-133
2018-03-03 14:34:22 -05:00
Rich Harris
a96fb93bfb
Fix test failures — closes #132
2018-03-03 14:33:47 -05:00
Rich Harris
17d7ca36f1
update test
2018-03-03 12:20:46 -05:00
Rich Harris
b1d072d43a
dont serve error page for unhandled server route errors - fixes #138
2018-02-28 16:54:38 -05:00
Rich Harris
58754c6d15
use blog.json instead of blog/list.json
2018-02-28 16:17:07 -05:00
Rich Harris
c36780fdc8
prevent client-side navigation to server routes - fixes #145
2018-02-28 14:23:19 -05:00
Rich Harris
58c1eb9fa8
allow dynamic parameters inside route parts - fixes #139
2018-02-28 09:39:21 -05:00
Rich Harris
19005110f1
huh, not sure why that changed
2018-02-27 19:58:49 -05:00
Rich Harris
c419c73550
fix tests
2018-02-18 12:55:56 -05:00
Rich Harris
cb12231053
implement this.error
2018-02-18 09:48:32 -05:00
Rich Harris
99d4eafb0b
argh these flaky tests are killing me
2018-02-18 08:18:14 -05:00
Rich Harris
bff6f550be
implement this.redirect in preload ( #83 )
2018-02-17 22:56:47 -05:00
Rich Harris
181d7b4a61
need to come up with a more robust approach to this...
2018-02-17 19:27:34 -05:00
Rich Harris
beb415c65d
argh
2018-02-17 19:22:05 -05:00
Rich Harris
5bbd7ead17
and again
2018-02-17 19:16:06 -05:00