specimen-builder icon indicating copy to clipboard operation
specimen-builder copied to clipboard

Some issues with paths on Windows

Open MarkosKon opened this issue 4 years ago • 0 comments

Hi, this is awesome work, thx!

I want to let you know about two issues I have on Windows with the paths:

  • In the eleventy config, when I run the start script, the name variable is evaluated as "css\\main.css" for the first asset. If I change it to something like: const assetPath = manifest[name] || manifest[name.replace("\\", "/")], it works.
  • The src/css/fonts.css file that's generated with the fontData script creates font face urls like this: src: url("..\fonts\commisioner.woff2"); instead of something like this: src: url("..\\fonts\\commisioner.woff2");.

MarkosKon avatar Nov 09 '20 18:11 MarkosKon