bholloway / resolve-url-loader

Webpack loader that resolves relative paths in url() statements based on the original source file
563 stars 71 forks source link

Wrapping double quotes escaped in output #152

Closed ghost closed 3 years ago

ghost commented 4 years ago

My URL declarations are wrapped with double-quotes in my sources files but when I compile them using Webpack Encore, double-quotes have disappeared from output files.

url("../../../../fonts/caviar-dreams/CaviarDreams-regular.ttf")

becomes

url(/build/fonts/CaviarDreams-regular.ttf)


"@symfony/webpack-encore": "0.28.2" "node-sass": "^4.13.0" "sass-loader": "^7.0.1"

bholloway commented 3 years ago

@fanchyfanch sorry for the delay in replying.

IIRC this occurs in the css-loader. You can see in their test fixured here there are double quotes which are not present in the snapshot here.

I will close this for now and reopen if necessary.