Skip to content

Commit

Permalink
added: sass
Browse files Browse the repository at this point in the history
  • Loading branch information
hauff committed Aug 15, 2024
1 parent 5ab879d commit 3ea032d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hanfor/static/dist/layout_globals-bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions hanfor/static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"css-loader": "^7.1.2",
"file-loader": "^6.2.0",
"postcss-loader": "^8.1.1",
"sass": "^1.77.8",
"sass-loader": "^14.2.1",
"style-loader": "^4.0.0",
"webpack": "^5.93.0",
Expand Down
5 changes: 4 additions & 1 deletion hanfor/static/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ const config = {
}
}
}, {
loader: 'sass-loader' // compiles Sass to CSS
loader: 'sass-loader', // compiles Sass to CSS
options: {
implementation: require("sass")
}
}]
},
{
Expand Down

0 comments on commit 3ea032d

Please sign in to comment.