File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ module.exports = {
90
90
// both options are optional
91
91
filename: " [name].css" ,
92
92
chunkFilename: " [id].css" ,
93
- hot: true , // optional as the plugin cannot automatically detect if you are using HOT, not for production use
93
+ hot: true , // if you want HMR - we try to automatically inject hot reloading but if it's not working, add it to the config
94
94
orderWarning: true , // Disable to remove warnings about conflicting order between imports
95
95
reloadAll: true , // when desperation kicks in - this is a brute force HMR flag
96
96
cssModules: true // if you use cssModules, this can help.
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ declare module 'extract-css-chunks-webpack-plugin' {
18
18
* we try to automatically inject hot reloading, but if it's not working, use this config
19
19
*/
20
20
hot ?: boolean ;
21
+ reloadAll ?: boolean ;
22
+ cssModules ?: boolean ;
21
23
}
22
24
}
23
25
You can’t perform that action at this time.
0 commit comments