sveltejs / sapper-template

Starter template for Sapper apps
703 stars 215 forks source link

Upgrade webpack template to use svelte-loader 3.0.0 #307

Closed benmccann closed 3 years ago

benmccann commented 3 years ago

svelte-loader 3.0.0 fixes numerous issues including HMR support

benmccann commented 3 years ago

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

non25 commented 3 years ago

@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?

benmccann commented 3 years ago

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