Kaynağa Gözat

Fixees #1747

Don't rewrite the urls for assets loaded via `url()` in CSS.

Instead, they should be relative to the CSS file.
JC Brand 5 yıl önce
ebeveyn
işleme
d833120f5e
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      webpack.prod.js

+ 5 - 1
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',
                 {