Skip to content

Commit

Permalink
Fix: (webpack.config.js) css-loader API change
Browse files Browse the repository at this point in the history
The build was broken in
<https://github.com/pydata/pydata-sphinx-theme/commit/185a37aa36820f77bffa4c87a772092e9e7cc380>/<https://github.com/pydata/pydata-sphinx-theme/pull/1494>.

This change fixes the build, but may not be the best way to do so, as
I would guess it re-enables url()-inlining, which may be undesired.
  • Loading branch information
alphapapa committed Oct 12, 2023
1 parent 185a37a commit 4e2b3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Expand Up @@ -159,7 +159,7 @@ module.exports = {
test: /\.scss$/,
use: [
{loader: MiniCssExtractPlugin.loader},
{loader: "css-loader?-url"}, //url()-inlining turned off
{loader: "css-loader"},
{loader: "sass-loader",},
],
}],
Expand Down

0 comments on commit 4e2b3b2

Please sign in to comment.