Skip to content

Commit

Permalink
feat(webpack): add SASS support in development config
Browse files Browse the repository at this point in the history
Updated the `webpack.config.dev.js` file to include SASS support by
modifying the module rules. The configuration now handles `.scss` and
`.sass` files using `style-loader`, `css-loader`, and `sass-loader`.
This allows for easier styling in the development environment.
  • Loading branch information
chessurisme committed Aug 23, 2024
1 parent a93a20e commit 1d67046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ module.exports = merge(commonConfig, {
module: {
rules: [
{
test: /\.css$/,
use: ['style-loader', 'css-loader']
test: /\.s[ac]ss$/i,
use: ['style-loader', 'css-loader', 'sass-loader']
}
]
}
Expand Down

0 comments on commit 1d67046

Please sign in to comment.