diff --git a/eleventy.config.js b/eleventy.config.js index 32f54fc..9e49bc9 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -527,14 +527,10 @@ export default function (eleventyConfig) { }); // Copy Lora font files (latin + latin-ext, weights 400/700, normal + italic) eleventyConfig.addPassthroughCopy({ - "node_modules/@fontsource/lora/files/lora-latin-400-normal.woff2": "fonts", - "node_modules/@fontsource/lora/files/lora-latin-ext-400-normal.woff2": "fonts", - "node_modules/@fontsource/lora/files/lora-latin-400-italic.woff2": "fonts", - "node_modules/@fontsource/lora/files/lora-latin-ext-400-italic.woff2": "fonts", - "node_modules/@fontsource/lora/files/lora-latin-700-normal.woff2": "fonts", - "node_modules/@fontsource/lora/files/lora-latin-ext-700-normal.woff2": "fonts", - "node_modules/@fontsource/lora/files/lora-latin-700-italic.woff2": "fonts", - "node_modules/@fontsource/lora/files/lora-latin-ext-700-italic.woff2": "fonts", + "node_modules/@fontsource/lora/files/lora-latin-400-*.woff2": "fonts", + "node_modules/@fontsource/lora/files/lora-latin-700-*.woff2": "fonts", + "node_modules/@fontsource/lora/files/lora-latin-ext-400-*.woff2": "fonts", + "node_modules/@fontsource/lora/files/lora-latin-ext-700-*.woff2": "fonts", }); // Watch for content changes