sveltejs / sapper-template

Starter template for Sapper apps
703 stars 214 forks source link

use 'mode' consistently in webpack config #241

Closed caroso1222 closed 4 years ago

caroso1222 commented 4 years ago

This will prevent confusion like this one where users want to change mode to 'development' by changing the top-level const mode = process.env.NODE_ENV; only to realize it has no effect in the server and serviceworker configurations.

Conduitry commented 4 years ago

Thank you!