Skip to content

Instantly share code, notes, and snippets.

View Xiradorn's full-sized avatar
👹
Working on something

Tony Frost Xiradorn

👹
Working on something
View GitHub Profile
@Xiradorn
Xiradorn / gulp-cjs-to-esm.md
Created February 9, 2024 09:01 — forked from noraj/gulp-cjs-to-esm.md
Moving gulpfile from CommonJS (CJS) to ECMAScript Modules (ESM)

Moving gulpfile from CommonJS (CJS) to ECMAScript Modules (ESM)

Context

del v7.0.0 moved to pure ESM (no dual support), which forced me to move my gulpfile to ESM to be able to continue to use del.

The author sindresorhus maintains a lot of npm packages and does not want to provides an upgrade guide for each package so he provided a generic guide. But this guide is a bit vague because it's generic and not helping for gulp, hence this guide.

Guide

@Xiradorn
Xiradorn / leggimi.md
Last active November 6, 2025 09:36
Nuxt Favicon procedure ( tnks to Favicon.im - https://favicon.im/it/blog/add-favicon-to-nuxt3-project )

How to Add Favicons to Your Nuxt 3 Project: Complete Implementation Guide January 8, 2025 Favicon.im

Favicons are essential for professional web applications—they appear in browser tabs, bookmarks, and mobile home screens, reinforcing your brand identity. While adding a basic favicon to Nuxt 3 is straightforward, implementing a comprehensive favicon system that works across all devices and scenarios requires more planning.

This guide covers everything from basic implementation to advanced features like dynamic favicon switching and PWA optimization. Whether you're building a simple website or a complex application, you'll find the right approach for your Nuxt 3 project. Quick Start: Basic Favicon Setup

For those who want to get started immediately, here's the minimal setup: