Asking for advice on a webpack problem, when merging css, the url path of the picture was changed, was it something I did wrong?

  node.js, question

Img.css uses a relative path

.img {
 background: url('../images/panel.jpg')
 bracket

It was merged into the main file and became like this.

.img {
 background: url(images/panel.jpg)
 bracket

The quotation marks/double quotation marks have been removed. How do you solve this problem?

? -urlCan keep your original input, don’t know if this is what you want. The following is an example of quick writing

var ExtractTextPlugin = require("extract-text-webpack-plugin");
 module.exports = {
 entry: './index.js',
 output: {
 path: __dirname,
 filename: 'bundle.js'
 },
 module: {
 loaders: [
 bracket
 test: /\.css$/,
 loader: ExtractTextPlugin.extract("style", "css?  -url")
 bracket
 bracket
 },
 plugins: [
 new ExtractTextPlugin("[name].bundle.css")
 bracket
 bracket

In addition, according to w3c Plus",'And whether to add or not is legal.? root= ..Can also handle