mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-12 02:15:17 +00:00
Disable HMR for now
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = {
|
||||
options: {
|
||||
dev,
|
||||
hydratable: true,
|
||||
hotReload: true
|
||||
hotReload: false // pending https://github.com/sveltejs/svelte/issues/2377
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -30,7 +30,8 @@ module.exports = {
|
||||
},
|
||||
mode,
|
||||
plugins: [
|
||||
dev && new webpack.HotModuleReplacementPlugin(),
|
||||
// pending https://github.com/sveltejs/svelte/issues/2377
|
||||
// dev && new webpack.HotModuleReplacementPlugin(),
|
||||
new webpack.DefinePlugin({
|
||||
'process.browser': true,
|
||||
'process.env.NODE_ENV': JSON.stringify(mode)
|
||||
|
||||
Reference in New Issue
Block a user