From 7f69394ec56727b8f815ad8a0ed6cd007dd3ce61 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Thu, 13 Feb 2020 12:31:10 +0100 Subject: [PATCH] Fixees #1747 Don't rewrite the urls for assets loaded via `url()` in CSS. Instead, they should be relative to the CSS file. --- webpack.prod.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack.prod.js b/webpack.prod.js index a7e49f9e4..0468fa80d 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -29,7 +29,11 @@ module.exports = merge(common, { MiniCssExtractPlugin.loader, { loader: 'css-loader', - options: {sourceMap: true} + options: { + url: false, + sourceMap: true + + } }, 'postcss-loader', {