Archive

FrontEnd2 writings

7 篇

  1. 用 Custom Elements API 写你的组件
    Markdown 插件对简单交互组件来说太重。Custom Elements 能直接提供交互能力,同时减少开发时的摩擦。

    HTMLFrontEnd8 分钟

  1. PostBuild With ESBuild & Minify-HTML
    静态站点可在CI增加PostBuild环节,进行图片压缩、CSS/JS 压缩合并等流程,以优化网站性能表现。本文主要记录使用ESBuild & minify-html编写PostBuild脚本,实现以下目标:

    PerformanceFrontEndCICD10 分钟