YAES icon indicating copy to clipboard operation
YAES copied to clipboard

Cannot access 'src' before initialization

Open a3con opened this issue 3 years ago • 0 comments

Please look: YAES/config/eleventy/image.js > line 50

...
async function handleImage({ src: relativeSrc, alt }) {
  - if (!alt) throw new Error(`Missing \`alt\` on myImage from: ${src}`);
  + if (!alt) throw new Error(`Missing \`alt\` on myImage from: ${relativeSrc}`);
...

a3con avatar Aug 19 '21 11:08 a3con