タグ

ブックマーク / antfu.me (6)

  • Initiative on Sponsorship Forwarding

    [[toc]] It's not a secret that open-source projects are now a critical part of almost every software project. While most open-source projects are maintained by volunteers, the sustainability of these projects becomes a big concern. The recent xz/liblzma vulnerability accident is a great example that shows the importance of open-source projects and how severe the problem could be. There are multipl

    Initiative on Sponsorship Forwarding
    efcl
    efcl 2024/04/22
    GitHub Sponsorsはスポンサーを転送する機能がないため、Open Collectiveを使って別のプロジェクトに転送する仕組みについて
  • Anthony Fu

    Hey, I am Anthony Fu, a fanatical open sourceror. Working at NuxtLabs Creator of Vitest Slidev VueUse UnoCSS Elk Type Challenges Core team of Vue Nuxt Vite Maintaining Shiki Twoslash ESLint Stylistic Dreaming up ideas and making them come true is where my passion lies. You can find my full projects list here. I also do some generative-art, compform, interactivity experiments on 100.antfu.me. I giv

    Anthony Fu
    efcl
    efcl 2023/05/22
    GitHub NotificationのInbox Zero
  • Why Reproductions are Required

    [[toc]] 中文 Chinese Version If you have ever browsed the issue lists in my repos or created one, you might sometimes see I reply with the following comment and then close the issue: We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks. I'd first say sorry if it ever makes you feel unpleasant. In this post, let me try to e

    Why Reproductions are Required
    efcl
    efcl 2022/05/31
    "We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue." https://stackoverflow.com/help/minimal-reproducible-example
  • Ship ESM & CJS in one Package

    [[toc]] ESM & CJS ESM - ECMAScript modules CJS - CommonJS In the past decade, due to the lack of a standard module system of JavaScript, CommonJS (a.k.a the require('xxx') and module.exports syntax) has been the way how Node.js and NPM packages work. Until 2015, when ECMAScript modules finally show up as the standard solution, the community start migrating to native ESM gradually. // CJS const cir

    Ship ESM & CJS in one Package
    efcl
    efcl 2021/11/30
    CommonJSとESMのデュアルフォーマットでのパッケージ公開について。 `package.json`の`exports`フィールドでの使い分け、tsupとunbuildのビルドについて。 ESMでは利用できないCommonJSの`__dirname`などの補完方法について
  • Reimagine Atomic CSS

    [[toc]] This post will be a bit longer than usual. It's quite a big announcement to me, and there are many things I want to talk about. I'll be appreciated if you take the time to read through it. The table of contents is hidden on the left if you are on a desktop. Hope you enjoy :) 中文 Chinese Version What is Atomic CSS? Let's first give a proper definition to Atomic CSS: From this article by John

    Reimagine Atomic CSS
    efcl
    efcl 2021/11/23
    Atomic CSSについて。 事前生成 + PruneのTaildinwのアプローチ、オンデマンド生成のTailwindCSSについて。 また、Atomic CSSエンジンのUnoCSSを作っているという話。
  • Journey with Icons Continues

    [[toc]] About one year ago, I wrote a blog post Journey with Icons, sharing the tools I have made for solving my needs on using icons in frontend projects. During this period, the Vite along its community has evolved quite a lot. The mindsets of Vite have inspired many projects to come up with efficient and innovative solutions. In this post, I will share the continuation of my journey with icons

    Journey with Icons Continues
    efcl
    efcl 2021/09/13
    Viteでアイコンコンポーネントをオンデマンドでビルドして利用できるunplugin-iconsについて。 アイコンのデータにはIconifyを使い、アイコンコンポーネントをロードした際にVite側でSVGベースのアイコンコンポーネントを作成し
  • 1