Files
gruperly-web/eleventy.config.js
Jose Selesan 56e67fa55d Add Gruperly logotype and favicon from brand assets
Copy logotipo and isotipo assets to src/assets, expose them via
Eleventy passthrough, use the adaptive iso favicon in the head, and
replace the generic placeholder icons in header, footer and demo sidebar.
2026-09-16 15:25:59 -03:00

25 lines
733 B
JavaScript

export default function (eleventyConfig) {
// Permite que el servidor de desarrollo acepte conexiones desde otros
// dispositivos de la red local (por ejemplo: http://192.168.x.x:8081).
eleventyConfig.setServerOptions({
host: "0.0.0.0",
});
// Copia los assets estáticos (logotipo, isotipo, favicon) a dist/assets.
eleventyConfig.addPassthroughCopy("src/assets");
eleventyConfig.addFilter("formatPrice", (value, currency) => {
const locale = currency === "ars" ? "es-AR" : "en-US";
return new Intl.NumberFormat(locale).format(value);
});
return {
dir: {
input: "src",
output: "dist",
includes: "_includes",
layouts: "_includes/layouts",
data: "_data",
},
};
}