node-sass throws error while image path includes exclamation mark(!)
kingback opened this issue · 1 comments
kingback commented
- NPM version (
npm -v
): 6.14.6 - Node version (
node -v
): v12.18.3 - Node Process (
node -p process.versions
): - Node Platform (
node -p process.platform
): darwin - Node architecture (
node -p process.arch
): x64 - node-sass version (
node -p "require('node-sass').info"
):- node-sass 5.0.0 (Wrapper) [JavaScript]
- libsass 3.5.5 (Sass Compiler) [C/C++]
- npm node-sass versions (
npm ls node-sass
): 5.0.0
.container {
background: url(https://img.alicdn.com/imgextra/i1/O1CN01UGMWUI1kx5YpZyVz7_!!6000000004749-55-tps-42-43.svg);
}
Wrap image path with ""
is ok.
.container {
background: url("https://img.alicdn.com/imgextra/i1/O1CN01UGMWUI1kx5YpZyVz7_!!6000000004749-55-tps-42-43.svg");
}