Note from 3 February 2021
Had once again to reinstall node-gyp, even if I'm on Big Sur, this must be a running joke… 🤷♂️
Had once again to reinstall node-gyp, even if I'm on Big Sur, this must be a running joke… 🤷♂️
Why would anyone use the path package from npm instead of Node’s path module?
https://www.npmjs.com/package/path
Just found it in one of my own projects, where I'm the only contributor… 😅
If Puppeteer fills your hard drive with many copies of Chromium, you can
puppeteer-core insteadpuppeteer_skip_chromium_download=true to your .npmrc and also set puppeteer_executable_path with Chrome path
You may have this issue with Node 16.5.1 on #Netlify: This setting is no longer used. npm stores temporary files in a special location in the cache…
Quick fix: put 16.5.0 in an .nvmrc file
I'm using an SVG sprite on this site to make sure I don't repeat SVG code for icons that are used multiple times, and I inline it so the rendering doesn't depend on another resource loading. Here's how I build this sprite from individual SVG icons.
I'm already using #Jest to test images-responsiver, my #Node package for easier responsive images, but I wonder how to use it to test my plugin wrapping it for #Eleventy… 🤔