Commit Graph

387 Commits

Author SHA1 Message Date
Rich Harris
b8d99aaa90 Merge pull request #632 from pngwn/master
Add support for custom route file extensions.
2019-05-20 22:33:56 -04:00
Rich Harris
2bb173f140 Merge pull request #683 from cristianl/pr-make-live-optional
Allow disabling live reload
2019-05-20 22:24:06 -04:00
Rich Harris
594cb0a356 Merge pull request #694 from jarrodldavis/fix/restart-server
Fix restarting server in dev
2019-05-20 22:23:29 -04:00
mrkishi
9dd63ab760 fix export queue 2019-05-17 16:50:08 -03:00
pngwn
e7b1aa373a Add support for custom route file extensions. 2019-05-17 19:19:04 +01:00
Jarrod Davis
6add2518aa Fix restarting server in dev
Wait for the server process to exit before starting a new one, so that
the server debugger port is free when the new process begins.
2019-05-15 02:28:41 -06:00
Cristian Lorsson
1fc169e7b8 Reload only when live reload is enabled 2019-05-10 15:08:32 -03: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
Rich Harris
bc8e5501cd prevent hanging with large numbers of links (#604) 2019-04-29 13:10:15 -04:00
Rich Harris
1707fe8e9d wait inside handle function when exporting 2019-04-29 11:55:03 -04:00
Rich Harris
ff60a7b389 Merge branch 'gh-604-alpha' of https://github.com/bwbroersma/sapper into bwbroersma-gh-604-alpha 2019-04-29 11:50:08 -04:00
cudr
54efe7235a fix comparator sort && add more tests 2019-04-28 00:14:27 +03:00
Rich Harris
8c7ce2c6bb Merge branch 'master' into spread_routes 2019-04-27 13:09:54 -04:00
Rich Harris
90ec61f14d Merge pull request #603 from sveltejs/gh-602
fix handling of empty hrefs during export
2019-04-27 12:18:45 -04: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
96a068245b Merge pull request #620 from cudr/error_page_hooks
Error page lifecycle
2019-04-27 11:06:28 -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
cudr
3a9d457389 execute error page hooks 2019-04-06 02:32:11 +03:00
Seb35
1e9cd84854 Fix base-path with service-worker-index.html - fixes #579 2019-03-25 20:33:43 +01:00
Benjamin W. Broersma
bf50392df5 Fixes #604 - using single queue for export. 2019-03-22 00:43:08 +01:00
cudr
81f80e6215 spread routes 2019-03-13 15:14:06 +03:00
Conduitry
6d5aa9a35d fix handling of empty hrefs during export (#602) 2019-03-11 10:39:35 -04: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
halfnelson
b5edf0edd5 Fix export race condition (#585)
* Await all items in the export queue before killing server
2019-03-04 05:21:30 -05:00
Rich Harris
e0de230e13 Slot-based routing (#573) 2019-02-21 16:34:07 -05:00
Rich Harris
ad0ebb8a69 Merge branch 'master' into nolan/preload-in-export 2019-02-17 09:51:03 -04:00
Rich Harris
130eafbd0a Merge pull request #566 from nolanlawson/nolan/issue-565
fix: fix "sapper export" with a custom PORT
2019-02-17 09:48:02 -04:00
Richard Harris
0609a92f3a update Rollup, remove some superfluous deps 2019-02-17 08:23:30 -05:00
Nolan Lawson
351ab13d29 fix: add link rel=preload for exported sites 2019-02-16 00:07:06 -08:00
Nolan Lawson
795da23418 fix: fix "sapper export" with a custom PORT
Fixes #565
2019-02-15 18:50:34 -08:00
Rich Harris
84a0ae562f support .svelte or .html extensions 2019-02-08 11:34:33 -05:00
Rich Harris
4f6b2dcb7c fix kleur thing 2019-02-07 08:47:02 -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
293da8bcd1 fix a cmd-f/cmd-r mistake 2019-02-03 14:12:17 -05:00
Richard Harris
0628ea99ab minor fixes 2019-02-03 12:51:29 -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