-
-
Notifications
You must be signed in to change notification settings - Fork 428
differential bundling #280
Comments
That sounds amazing! Would probably be fun implementing in https://github.com/sveltejs/sapper-template eventually too. |
This is implemented in 0.18.7. Currently it only works for Rollup apps — here's a template: https://github.com/sveltejs/sapper-template-rollup/tree/babel (it might make sense for that to be the master branch, haven't decided). Documentation to come (https://github.com/sveltejs/sapper.svelte.technology/issues/30) but it's pretty simple — vary the client build config based on |
Might it even make sense to have the webpack and rollup templates in the same repo on different branches? I'm assuming there are quite a few files that are identical among all versions (webpack/rollup and regular/legacy). We could master be just purely the app and assets and a readme, and put all the actual build stuff in different branches on top of that. Then we just tell people to |
Probably, yeah... in fact you can even have |
Said this in the forum:
|
this is a great idea, let's steal it
https://twitter.com/benjamn/status/1003735863921082370
The text was updated successfully, but these errors were encountered: