Skip to content

Commit

Permalink
Fix styles not working during development (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Jun 29, 2024
1 parent b0391db commit 39397bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/develop/webpack/loaders/styleLoaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function styleLoaders(projectDir: string, opts: any) {
use: getCommonStyleLoaders(projectDir, {
regex: /\.css$/,
mode: opts.mode,
useMiniCssExtractPlugin: true
useMiniCssExtractPlugin: opts.mode === 'production'
})
}
]
Expand Down

0 comments on commit 39397bd

Please sign in to comment.