Explorar el Código

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 hace 5 años
padre
commit
d833120f5e
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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',
                 {