sveltejs / template-webpack

Template for building basic Svelte applications with webpack
304 stars 119 forks source link

Add more features that are present in the sapper-template #17

Open alinnert opened 5 years ago

alinnert commented 5 years ago

Can you please add a little more build features that already are part of the sapper-template? I think of things like:

Alternatively, can you add some documentation how to add these features? It's a little hard to figure out how the sapper-template works. Its webpack config doesn't mention the static folder for instance.

Or does it make more sense to make the sapper-template more flexible? Or to delete not needed features manually? (For my current project I don't need a router and SSR)

antony commented 4 years ago

To answer one of your above questions, if you don't need routing or SSR, just use Svelte on its own rather than Sapper. Sapper is, in essence, a combination of Svelte + SSR + Routing, so adding the ability to remove them would make little sense.