Skip to content

Add reloadAll and cssModules to typings #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = {
// both options are optional
filename: "[name].css",
chunkFilename: "[id].css",
hot: true, // optional as the plugin cannot automatically detect if you are using HOT, not for production use
hot: true, // if you want HMR - we try to automatically inject hot reloading but if it's not working, add it to the config
orderWarning: true, // Disable to remove warnings about conflicting order between imports
reloadAll: true, // when desperation kicks in - this is a brute force HMR flag
cssModules: true // if you use cssModules, this can help.
Expand Down
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ declare module 'extract-css-chunks-webpack-plugin' {
* we try to automatically inject hot reloading, but if it's not working, use this config
*/
hot?: boolean;
reloadAll?: boolean;
cssModules?: boolean;
}
}

Expand Down