You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.
Is your feature request related to a problem? Please describe.
Not a bug or large problem, but I just span up a new Sapper project and it struck me that the webpack configuration in the default template had a lot of unnecessary repetition, making modifications cumbersome for end users.
Describe the solution you'd like
A minor refactor of webpack.config.js in the default Sapper webpack template, to make things a little easier to reason about and for end users to hack around on to add additional loaders etc needed for their environment.
For my own config I've added several rules to sharedRules as well as modified the base svelte loader config with preprocessing etc.
How important is this feature to you?
Not very to be honest, it's just to make it easier for developers to wrangle webpack in the default template. Currently the default webpack conf feels quite intimidating.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Not a bug or large problem, but I just span up a new Sapper project and it struck me that the webpack configuration in the default template had a lot of unnecessary repetition, making modifications cumbersome for end users.
Describe the solution you'd like
A minor refactor of
webpack.config.js
in the default Sapper webpack template, to make things a little easier to reason about and for end users to hack around on to add additional loaders etc needed for their environment.Something like this as a starting point
For my own config I've added several rules to
sharedRules
as well as modified the base svelte loader config with preprocessing etc.How important is this feature to you?
Not very to be honest, it's just to make it easier for developers to wrangle webpack in the default template. Currently the default webpack conf feels quite intimidating.
The text was updated successfully, but these errors were encountered: