You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using node.js 0.12.4 on Windows 8.1 64bit and have installed vulcanize by npm install -g vulcanize as instructed. The compilation process goes fine without warnings nor errors.
Surprisingly, I see some images and CSS styles are missing after vulcanizing because it has converted all slashes in every URL into backslashes!
For example: background-image: url(somepath/somefile.png) => background-image: url(somepath\somefile.png) and the browser is trying to load "somepathsomefile.png". In some contexts, they are converted again into percent-encoding, %5C.
Loading the original codes in the browser works perfectly fine but only the vulcanized code has missing resources like this. This issue does not happen on Mac and Linux.
The text was updated successfully, but these errors were encountered:
I'm using node.js 0.12.4 on Windows 8.1 64bit and have installed vulcanize by
npm install -g vulcanize
as instructed. The compilation process goes fine without warnings nor errors.Surprisingly, I see some images and CSS styles are missing after vulcanizing because it has converted all slashes in every URL into backslashes!
For example:
background-image: url(somepath/somefile.png)
=>background-image: url(somepath\somefile.png)
and the browser is trying to load "somepathsomefile.png". In some contexts, they are converted again into percent-encoding,%5C
.Loading the original codes in the browser works perfectly fine but only the vulcanized code has missing resources like this. This issue does not happen on Mac and Linux.
The text was updated successfully, but these errors were encountered: