specimen-builder
specimen-builder copied to clipboard
Some issues with paths on Windows
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 thefontData
script creates font face urls like this:src: url("..\fonts\commisioner.woff2");
instead of something like this:src: url("..\\fonts\\commisioner.woff2");
.