Skip to content

Commit

Permalink
Fixees #1747
Browse files Browse the repository at this point in the history
Don't rewrite the urls for assets loaded via `url()` in CSS.

Instead, they should be relative to the CSS file.
  • Loading branch information
jcbrand committed Feb 13, 2020
1 parent 49fa881 commit d833120
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ module.exports = merge(common, {
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {sourceMap: true}
options: {
url: false,
sourceMap: true

}
},
'postcss-loader',
{
Expand Down

0 comments on commit d833120

Please sign in to comment.