Skip to content

Commit

Permalink
remove brackets
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Malton <sebastian@malton.name>
  • Loading branch information
Nokel81 committed Apr 1, 2022
1 parent 4410311 commit b04a4ab
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions webpack/renderer.ts
Expand Up @@ -161,11 +161,9 @@ export interface CssModulesWebpackRuleOptions {
* Import CSS or SASS styles with modules support (*.module.scss)
*/
export function cssModulesWebpackRule({ styleLoader }: CssModulesWebpackRuleOptions = {}): webpack.RuleSetRule {
styleLoader ??= (
isDevelopment
? "style-loader"
: MiniCssExtractPlugin.loader
);
styleLoader ??= isDevelopment
? "style-loader"
: MiniCssExtractPlugin.loader;

return {
test: /\.s?css$/,
Expand Down

0 comments on commit b04a4ab

Please sign in to comment.