Rich Harris
|
8ef312849c
|
always write service-worker.js and shell index.html file
|
2018-01-14 18:16:10 -05:00 |
|
Rich Harris
|
4200446684
|
ignore trailing slash in pathnames
|
2018-01-14 18:15:40 -05:00 |
|
Rich Harris
|
2af2ab3cb9
|
Ensure output dir exists, return Promise
|
2018-01-14 13:45:47 -05:00 |
|
freedmand
|
9ea4137b87
|
Add option to extract server-side routes at directories other than /api.
Also clarifies some texts and documentation.
|
2018-01-05 19:21:25 -08:00 |
|
freedmand
|
7588911108
|
Removes all async/await from the extraction pipeline, and adds unit tests for extracted client pages that match a regular expression
|
2018-01-05 14:56:58 -08:00 |
|
freedmand
|
fc8280adea
|
Fixes small issue with reading chunk files
|
2018-01-05 14:42:04 -08:00 |
|
freedmand
|
30ddb3dd7e
|
Adds a sapper extract CLI command, which scrapes the server to run as a static website starting at the site's root.
TESTED=Basic unit test ensuring relevant routes are added.
|
2018-01-05 14:16:30 -08:00 |
|
Rich Harris
|
a7024b3806
|
fix index route
|
2017-12-31 16:04:54 -05:00 |
|
Rich Harris
|
423e02aeae
|
handle nested routes - fixes #55
|
2017-12-31 13:25:52 -05:00 |
|
Rich Harris
|
c29e8022cc
|
replace all occurences of variables
|
2017-12-25 16:18:19 -05:00 |
|
Rich Harris
|
0226bd90c6
|
dont write service-worker.js and index.html to disk in prod mode
|
2017-12-23 15:01:29 -05:00 |
|
Rich Harris
|
f8e237b265
|
make invalidation message look less like an error
|
2017-12-23 10:55:55 -05:00 |
|
Rich Harris
|
68c2f2e388
|
linting
|
2017-12-22 09:19:32 -05:00 |
|
Rich Harris
|
0bcb61650b
|
use nightmare for testing
|
2017-12-21 16:48:53 -05:00 |
|
Rich Harris
|
222a750b7b
|
render main.js back to templates, to allow relative imports - fixes #40
|
2017-12-21 11:38:03 -05:00 |
|
Rich Harris
|
1bed4b0670
|
use /, not path.sep, when creating routes
|
2017-12-21 08:46:40 -05:00 |
|
Rich Harris
|
f50d3c4262
|
error if routes clash - fixes #33
|
2017-12-20 20:46:28 -05:00 |
|
Rich Harris
|
492f024d2a
|
add preload header for main.js and current route - fixes #2
|
2017-12-20 18:04:11 -05:00 |
|
Rich Harris
|
4232f75b19
|
rebundle when main.js changes
|
2017-12-20 17:36:22 -05:00 |
|
Rich Harris
|
fefb0d96d7
|
rebundle when routes and templates change
|
2017-12-20 17:34:23 -05:00 |
|
Rich Harris
|
cd91bf2ca4
|
-> v0.2.4
|
2017-12-20 16:33:54 -05:00 |
|
Rich Harris
|
c8fe0679ae
|
posixify import paths
|
2017-12-19 20:48:44 -05:00 |
|
Rich Harris
|
8b516ef9bd
|
inject HMR import - fixes #14
|
2017-12-18 17:07:17 -05:00 |
|
Rich Harris
|
8da3ca16ab
|
Separate build step (closes #21)
|
2017-12-18 15:38:56 -05:00 |
|
Rich Harris
|
8270463281
|
remove webpack-dev-middleware
|
2017-12-18 11:41:02 -05:00 |
|
Rich Harris
|
63d39575be
|
starting to lose my sense of humour
|
2017-12-17 21:39:43 -05:00 |
|
Rich Harris
|
c1de442dd1
|
argh not again
|
2017-12-17 21:34:16 -05:00 |
|
Rich Harris
|
dc5e2543cb
|
argh copypasta fail
|
2017-12-17 21:07:34 -05:00 |
|
Rich Harris
|
6eb99b195e
|
use atime.getTime() and mtime.getTime() - hopefully fixes #11
|
2017-12-17 20:39:18 -05:00 |
|
Rich Harris
|
dc929fcd83
|
inject app path, since dest might be /tmp causing resolution failure
|
2017-12-17 15:17:23 -05:00 |
|
Rich Harris
|
b7ac067459
|
always write to .sapper, not templates, since we cant guarantee fs access
|
2017-12-17 15:04:20 -05:00 |
|
Rich Harris
|
4f0b336627
|
fix prod mode
|
2017-12-16 20:30:14 -05:00 |
|
Rich Harris
|
e71bf298fb
|
inject __dev__ variable
|
2017-12-16 20:19:02 -05:00 |
|
Rich Harris
|
e4936375db
|
support HMR
|
2017-12-16 20:10:49 -05:00 |
|
Rich Harris
|
08ff7ad234
|
shuffle things around
|
2017-12-16 17:19:28 -05:00 |
|
Rich Harris
|
5995b7ae6a
|
run webpack in watch mode during dev
|
2017-12-16 16:50:46 -05:00 |
|
Rich Harris
|
71ed3864b7
|
run webpack in watch mode
|
2017-12-16 16:24:36 -05:00 |
|
Rich Harris
|
bd7f6e2b1a
|
expose main.js
|
2017-12-16 15:40:22 -05:00 |
|
Rich Harris
|
32dfa94247
|
dont include directories in cache manifest
|
2017-12-16 08:07:22 -05:00 |
|
Rich Harris
|
80ae909b73
|
serve assets from memory, use caching
|
2017-12-15 17:20:24 -05:00 |
|
Rich Harris
|
cb2364f476
|
add noscript message (todo - make it configurable)
|
2017-12-15 15:29:08 -05:00 |
|
Rich Harris
|
e810ead93f
|
move files around
|
2017-12-15 14:46:23 -05:00 |
|