Rich Harris
7bd684a80e
Merge pull request #428 from nolanlawson/cache-control-service-worker
...
Set service-worker max-age to 0
2018-09-08 10:20:04 -04:00
Rich Harris
cbb5e8755b
Use MDN recommendation for preventing SW caching
2018-09-08 10:12:55 -04:00
Rich Harris
7ef72dbb77
Merge pull request #429 from nolanlawson/consistent-cache-control
...
Use consistent cache-control:max-age=600 for HTML pages
2018-09-08 09:40:56 -04:00
Nolan Lawson
87ff9c2aeb
fix test
2018-09-07 17:25:17 -07:00
Nolan Lawson
2d1f535314
use consistent cache-control:max-age=600 for HTML pages
2018-09-07 16:46:40 -07:00
Rich Harris
cd1b53b80d
Merge pull request #424 from nolanlawson/csp-nonce
...
Allow scripts to contain a CSP nonce
2018-09-07 19:46:07 -04:00
Rich Harris
0a7be736c0
snake_case
2018-09-07 19:45:40 -04:00
Nolan Lawson
5ee53a98c6
set service-worker max-age to 0
2018-09-07 16:28:38 -07:00
Nolan Lawson
68e93a8fa0
add cache-control:immutable for immutable assets
2018-09-07 11:07:50 -07:00
Nolan Lawson
e377515867
allow scripts to contain a CSP nonce
2018-09-07 09:46:53 -07:00
Rich Harris
6ccae0cd33
better unicode handling - fixes #347 , i think
2018-09-02 23:00:39 -04:00
Rich Harris
bebb0dd595
CSS extraction and code-splitting
...
closes #388
2018-09-02 14:46:27 -04:00
Rich Harris
c7cce985e3
serve legacy assets if such there be
2018-08-30 23:13:34 -04:00
Rich Harris
65d0172abe
handle non-Sapper responses when exporting - fixes #392
2018-08-30 18:22:40 -04:00
Rich Harris
3b098caa6e
implement --live and --hot - fixes #385
2018-08-29 21:51:08 -04:00
Rich Harris
e51c733e3f
Merge pull request #379 from sveltejs/gh-130
...
Rollup support
2018-08-29 21:02:48 -04:00
Rich Harris
36fc8a947b
use shimport
2018-08-29 15:58:27 -04:00
Rich Harris
70b5cc86dc
replace client_assets.json with build.json, include bundler name
2018-08-28 17:56:46 -04:00
Rich Harris
200c5fcbd2
get tests passing again
2018-08-25 14:01:07 -04:00
Rich Harris
9cbb8bdc33
first stab at supporting Rollup ( #130 )
2018-08-25 12:42:27 -04:00
Rich Harris
3d39836cfb
prevent deprecation warnings
2018-08-25 09:12:06 -04:00
Rich Harris
deef1bbfcf
handle unknown preload errors
2018-08-16 12:25:23 -04:00
Rich Harris
4c9c1dccf5
Merge pull request #350 from sveltejs/gh-344
...
pass response object to store getter
2018-08-09 20:13:17 -04:00
Rich Harris
444908cac5
pass response object to store getter - fixes #344
2018-08-08 10:57:10 -04:00
Luke Edwards
aad87857ce
fix: replace leading slash in preload’s redirect
2018-08-06 20:28:28 -07: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
47a6d6f662
Merge pull request #326 from lukeed/feat/ignore
...
Add `ignore` option
2018-08-01 08:46:49 -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
731d4f535c
skip layout components where none is provided - fixes #312
2018-07-23 16:31:00 -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
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
087356f781
fix req.baseUrl synthesis
2018-06-27 16:57:04 -04:00
Rich Harris
e1a33c6a9b
always refresh client_assets in dev
2018-06-17 13:00:27 -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
Rich Harris
e0b4319c7d
preserve webpack stats, write client assets elsewhere
2018-05-26 12:31:43 -04:00
Rich Harris
3becc1cbe2
error on incorrect init args
2018-05-04 23:06:10 -04:00
Rich Harris
8ee5346900
switch to single App component model ( #157 )
2018-05-04 22:46:41 -04:00
Rich Harris
9e2d0a7fbc
Merge branch 'master' into collision
2018-05-04 17:05:18 -04:00
Rich Harris
1fcf3f79ee
only save the bits of client_info we need
2018-05-03 23:42:19 -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
Rich-Harris
45142cd037
fix missing service worker
2018-04-06 14:44:50 -07:00
Rich-Harris
3220c522d7
attach store to error pages
2018-03-20 16:08:23 -04:00
Rich Harris
35c30ae2c5
fix server-side fetch paths
2018-03-18 22:36:55 -04:00
Rich Harris
66ac9773c0
Merge pull request #204 from nolanlawson/ignore-source-maps
...
Add support for sourcemap *.map files
2018-03-18 21:23:26 -04:00
Nolan Lawson
52dfd6e939
Don't preload .map files
2018-03-18 16:31:53 -07:00