sveltejs/sapper-template

Upgrade webpack template to use svelte-loader 3.0.0

benmccann opened this issue · 3 comments

svelte-loader 3.0.0 fixes numerous issues including HMR support

@non25 maybe you'd like to take a look at this one?

non25 commented

@benmccann Should we upgrade to webpack 5 as well?
It feels like I should pull sapper-template-webpack first and test things out.
Don't know if we still need webpack-modules or what about including webpack-dev-server and mini-css-extract-plugin.
Will need to look into sapper dev|build|export. Does it use rollup internally?

I think upgrading webpack would be harder because it would need changes to Sapper, which frankly isn't worth doing with SvelteKit on the way out