Commit Graph

141 Commits

Author SHA1 Message Date
pngwn
e7b1aa373a Add support for custom route file extensions. 2019-05-17 19:19:04 +01:00
Rich Harris
2792b7c5d1 Merge pull request #676 from mrkishi/server-indexes
Consolidate index handling for page and server routes
2019-05-09 09:18:26 -04:00
Rich Harris
9e70e68c0c Merge pull request #664 from mrkishi/refactor
Tidy a few things up
2019-05-09 08:28:57 -04:00
mrkishi
fe6b7976ef Add attribute quotes to generated App.svelte 2019-05-08 22:44:07 -03:00
mrkishi
54e92c3b99 Regularize page and server routes
Treats both page and server routes similarly in regards to indexes.

It's a (somewhat) breaking change: server routes will accept trailing
slashes to match page routes behavior, but only if there's no extension.

We still need a stronger support for dealing with different clean urls
rules.
2019-05-08 12:24:45 -03:00
mrkishi
f886a12bd7 Group route filters 2019-05-05 14:51:23 -03:00
mrkishi
6c03cfd46a Extract layout file search 2019-05-05 14:51:22 -03:00
mrkishi
78480fe5e8 Fix typo 2019-05-05 14:51:22 -03:00
Rich Harris
afeedf6bb2 give each app its own page, preloading and session stores, using context 2019-04-29 14:52:19 -04:00
cudr
54efe7235a fix comparator sort && add more tests 2019-04-28 00:14:27 +03:00
Rich Harris
83e427178e Merge branch 'master' into spread_routes 2019-04-27 11:16:18 -04:00
Rich Harris
a89f7b01bb Merge pull request #616 from Seb35/fix-swindex-base-path
Fix base-path with service-worker-index.html - fixes #579
2019-04-27 11:07:36 -04:00
Rich Harris
52c4106d2c in this house we use tabs 2019-04-21 13:41:52 -04:00
Artyom Stepanishchev
01c0097acb Fixed %sapper.styles% injection for webpack builds 2019-04-08 18:51:35 +03:00
Seb35
1e9cd84854 Fix base-path with service-worker-index.html - fixes #579 2019-03-25 20:33:43 +01:00
cudr
81f80e6215 spread routes 2019-03-13 15:14:06 +03:00
Rich Harris
f7c88df3be Merge pull request #596 from sveltejs/recover-alpha-10
various lost changes and fixes from 0.26.0-alpha.10
2019-03-08 08:35:47 -05:00
Conduitry
74c66b784f Server-side preload check fixes (fixes #575, #594, #598) 2019-03-08 08:34:36 -05:00
Conduitry
9e9bd10333 various lost changes and fixes from 0.26.0-alpha.10 2019-03-07 13:18:40 -05:00
Rich Harris
e0de230e13 Slot-based routing (#573) 2019-02-21 16:34:07 -05:00
Rich Harris
84a0ae562f support .svelte or .html extensions 2019-02-08 11:34:33 -05:00
Richard Harris
720cf8a859 treat foo.html and foo/index.html the same when generating manifest 2019-02-04 07:42:45 -05:00
Richard Harris
3d7cfbbf3d tidy up 2019-02-03 00:14:53 -05:00
Richard Harris
b7fce99438 simplify 2019-02-02 13:01:55 -05:00
Rich Harris
548de702ac move all page info to app-level stores 2019-02-01 22:28:47 -05:00
Rich Harris
3bab780f88 only import preload when appropriate 2019-02-01 11:09:08 -05:00
Rich Harris
263bb08334 various 2019-02-01 10:54:43 -05:00
Richard Harris
3445ec66ac figure out if component has preload early on 2019-02-01 09:28:24 -05:00
Richard Harris
4940c5d5be merge master -> svelte-3, fix various typescript and webpack oddities 2019-02-01 08:21:45 -05:00
Rich Harris
79fa15da3d Merge pull request #525 from nolanlawson/nolan/sw-index-html
add service-worker-index.html
2019-02-01 05:36:08 -05:00
Rich Harris
f587161d7d first crack at context-driven store 2019-01-31 21:42:29 -05:00
Rich Harris
c00af6dad0 update deps 2019-01-30 10:21:43 -05:00
Conduitry
14fc6b3176 support Rollup 1.0 2018-12-31 16:51:05 -05:00
Conduitry
7726325b4b support Rollup 1.0 2018-12-31 11:14:49 -05:00
Rich Harris
82a023c302 various 2018-12-20 23:16:03 -05:00
Nolan Lawson
03af9b1a16 add service-worker-index.html
fixes #422
2018-12-12 18:30:16 +00:00
Artyom Stepanishchev
af2a792508 Added css build info for webpack apps 2018-12-07 23:28:28 +03:00
mrkishi
382fe6b7b9 Add missing posixify 2018-10-26 11:03:29 -03:00
Rich Harris
410c52df41 fix lazy css bug, add tests 2018-10-24 18:48:38 -04:00
Rich Harris
44736754ad fix file extension 2018-10-15 21:27:52 -04:00
Rich Harris
1b9b559d82 include css depended upon by entry point, even if also depended on by a lazily-loaded component 2018-10-11 23:18:51 -04:00
Rich Harris
52f40f9e63 Improve internal API 2018-10-08 19:21:15 -04:00
Rich Harris
5e59855a15 overhaul tests 2018-10-07 18:23:43 -04:00
Rich Harris
bb04af41bd fix legacy builds 2018-10-02 11:13:09 -04:00
Rich Harris
02256ae214 ensure CSS placeholders are overwritten 2018-10-02 10:27:02 -04:00
mrkishi
584ddd1c85 Fix rollup input paths on Windows 2018-10-01 17:47:44 -03:00
Rich Harris
6a74097b0c ensure dev client is not imported if server imports client.js 2018-10-01 12:13:03 -04:00
Rich Harris
64921dfc3c make directories relative to project 2018-09-30 22:05:55 -04:00
Rich Harris
664c093391 -> v0.22.1 2018-09-30 21:10:17 -04:00
Rich Harris
8530d06d00 golf things down a bit 2018-09-30 18:11:40 -04:00