Skip to content

Commit 4787cce

Browse files
committed
Fix: (webpack.config.js) css-loader API change
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. Closes <#1507>.
1 parent 185a37a commit 4787cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ module.exports = {
159159
test: /\.scss$/,
160160
use: [
161161
{loader: MiniCssExtractPlugin.loader},
162-
{loader: "css-loader?-url"}, //url()-inlining turned off
162+
{loader: "css-loader"},
163163
{loader: "sass-loader",},
164164
],
165165
}],

0 commit comments

Comments
 (0)