Browse Source

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 years ago
parent
commit
d833120f5e
1 changed files with 5 additions and 1 deletions
  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',
                 {