Skip to content

Commit

Permalink
Update packages/scripts/config/webpack.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Nov 5, 2024
1 parent 068e305 commit 2c1d41c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ const baseConfig = {
type: 'css/mini-extract',
test: /[\\/]style(\.module)?\.(pc|sc|sa|c)ss$/,
chunks( chunk ) {
// Ensure that the main style file can still be generated when provided as an entry point.
return chunk.name !== 'style';
},
enforce: true,
Expand Down

0 comments on commit 2c1d41c

Please sign in to comment.