mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 07:18:54 +00:00
e51e761d9c
When CSS imports assets via the file loader (fonts, images), the emitted URLs were relative to the CSS output directory. That broke when the CSS was inlined into HTML, since browsers then resolved the URLs against the page rather than the CSS file. Set esbuild's PublicPath to the CSS output directory joined with the site base path so URLs work whether the CSS is published as a file or inlined. Fixes #14849
8 lines
73 B
Plaintext
8 lines
73 B
Plaintext
|
|
*.test
|
|
imports.*
|
|
dist/
|
|
public/
|
|
.DS_Store
|
|
cache/filecache/_gen/
|
|
.claude/ |