---
title: "X 归档 2023-06-23"
date: "2023-06-23"
tags:
  - x-archive
  - devops
  - apple
  - frontend
---

<div class="x-arch-meta">6 条动态 · 图 2 · 视频 4</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1671956224642875400" id="xl-1671956224642875400-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1671956224642875400" id="xl-1671956224642875400-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1721593504118493184/UzPnGWvZ_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/angular" target="_blank" rel="nofollow noopener" data-name="Angular" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1721593504118493184/UzPnGWvZ_bigger.jpg">@angular</a><span class="x-arch-time">03:00</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1671956224642875400-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1671956224642875400-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/angular/status/1671956224642875400" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">In Angular 16.1, we've added a new development server option: forceEsbuild.<br /><br />When enabled, `ng serve` will use esbuild/Vite with the build target options!<br /><br />Note: you can continue to use default Webpack-based builder for builds (ng build) if you choose.</div>
    <div class="x-arch-text x-arch-trans">Angular 16.1 新增了一个开发服务器选项：forceEsbuild。<br /><br />启用后，`ng serve` 将使用带构建目标选项的 esbuild/Vite！<br /><br />注意：如果你愿意，构建（ng build）时仍可继续使用默认的基于 Webpack 的 builder。</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1671956224642875400-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1671956224642875400-1.jpg" alt="@angular 的配图 1/1" loading="lazy" decoding="async" width="1402" height="596" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1671974341032935424" id="xl-1671974341032935424-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1671974341032935424" id="xl-1671974341032935424-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1980306076479201281/0WC7AqxQ_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/antfu7" target="_blank" rel="nofollow noopener" data-name="Anthony Fu 🦋 @antfu.me" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1980306076479201281/0WC7AqxQ_bigger.jpg">@antfu7</a><span class="x-arch-time">04:12</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1671974341032935424-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1671974341032935424-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/antfu7/status/1671974341032935424" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">The upcoming Picture-in-Picture API that @googlechrome is pushing is soo promising! 🤩<br />@nuxt_js DevTools will be able to pop up as a separate window soon!</div>
    <div class="x-arch-text x-arch-trans">@googlechrome 力推的 Picture-in-Picture API 前景太可期了！🤩<br />@nuxt_js DevTools 很快就能以独立窗口弹出了！</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-06/1671974341032935424-poster.jpg" src="/cdn-media/x/2026-10/1671974341032935424-video.mp4" width="1272" height="720" data-duration="20" aria-label="@antfu7 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1671993047003938818" id="xl-1671993047003938818-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1671993047003938818" id="xl-1671993047003938818-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1746461554302722048/svOF2HG7_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/pie6k" target="_blank" rel="nofollow noopener" data-name="Adam Pietrasiak" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1746461554302722048/svOF2HG7_bigger.jpg">@pie6k</a><span class="x-arch-time">05:26</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1671993047003938818-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1671993047003938818-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/pie6k/status/1671993047003938818" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">I modified all buttons and actions in Screen Studio to use the same rounded corners algorithm as iOS and macOS native apps instead of a regular, web-based border-radius.<br /><br />Will anyone ever notice? I doubt it.<br /><br />Will I know about it and be proud of it? Yes.</div>
    <div class="x-arch-text x-arch-trans">我把 Screen Studio 里所有按钮和操作改成了与 iOS 和 macOS 原生应用相同的圆角算法，而不是普通的、网页式的 border-radius。<br /><br />会有人注意到吗？我很怀疑。<br /><br />我自己知道并且为此骄傲吗？当然。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-06/1671993047003938818-poster.jpg" src="/cdn-media/x/2026-10/1671993047003938818-video.mp4" width="794" height="566" data-duration="6" aria-label="@pie6k 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1671993049696681987" id="xl-1671993049696681987-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1671993049696681987" id="xl-1671993049696681987-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1746461554302722048/svOF2HG7_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/pie6k" target="_blank" rel="nofollow noopener" data-name="Adam Pietrasiak" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1746461554302722048/svOF2HG7_bigger.jpg">@pie6k</a><span class="x-arch-time">05:26</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1671993049696681987-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1671993049696681987-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/pie6k/status/1671993049696681987" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Example button: 😅<br /><br />You can see it, right lol?<br /><br />ps. Thanks to <a href="https://www.figma.com/blog/desperately-seeking-squircles/" target="_blank" rel="noopener">https://www.figma.com/blog/desperately-seeking-squircles/</a> for absolutely stunning research on it!<br /><br />And to <a href="https://figma-squircle.vercel.app/" target="_blank" rel="noopener">https://figma-squircle.vercel.app/</a> for implementing the algorithm.</div>
    <div class="x-arch-text x-arch-trans">示例按钮：😅<br /><br />能看出来区别吧，哈哈？<br /><br />ps. 感谢 <a href="https://www.figma.com/blog/desperately-seeking-squircles/" target="_blank" rel="noopener">https://www.figma.com/blog/desperately-seeking-squircles/</a> 在这方面做的超赞研究！<br /><br />也感谢 <a href="https://figma-squircle.vercel.app/" target="_blank" rel="noopener">https://figma-squircle.vercel.app/</a> 实现了这个算法。</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1671993049696681987-1.png" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1671993049696681987-1.png" alt="@pie6k 的配图 1/1" loading="lazy" decoding="async" width="490" height="288" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1672194265643106305" id="xl-1672194265643106305-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1672194265643106305" id="xl-1672194265643106305-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1844040231697121280/LOml3yw9_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/deno_land" target="_blank" rel="nofollow noopener" data-name="Deno" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1844040231697121280/LOml3yw9_bigger.jpg">@deno_land</a><span class="x-arch-time">18:45</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1672194265643106305-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1672194265643106305-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/deno_land/status/1672194265643106305" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Here's why you shouldn't think of JavaScript modules as Deno-first vs. npm-first 👇</div>
    <div class="x-arch-text x-arch-trans">为什么你不该把 JavaScript 模块看成 “Deno 优先还是 npm 优先” 的对立问题 👇</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-06/1672194265643106305-poster.jpg" src="/cdn-media/x/2026-10/1672194265643106305-video.mp4" width="720" height="720" data-duration="33" aria-label="@deno_land 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1672240357994577921" id="xl-1672240357994577921-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1672240357994577921" id="xl-1672240357994577921-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1276240813333401600/brd0hSfW_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/bramus" target="_blank" rel="nofollow noopener" data-name="Bramus" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1276240813333401600/brd0hSfW_bigger.jpg">@bramus</a><span class="x-arch-time">21:49</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1672240357994577921-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1672240357994577921-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/bramus/status/1672240357994577921" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">For your Friday afternoon #CSS pleasure: (ab)using Scroll-Driven Animations to fake a Scroll-Snapping `:snapped` pseudo.<br /><br />It’s not perfect, but at least it’s something …<br /><br /><a href="https://codepen.io/bramus/pen/zYMoNvg" target="_blank" rel="noopener">https://codepen.io/bramus/pen/zYMoNvg</a></div>
    <div class="x-arch-text x-arch-trans">供你周五下午消遣的 #CSS 玩法：（滥用）Scroll-Driven Animations 来伪造一个滚动吸附的 `:snapped` 伪类。<br /><br />不算完美，但至少是个办法……</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-06/1672240357994577921-poster.jpg" src="/cdn-media/x/2026-10/1672240357994577921-video.mp4" width="1130" height="720" data-duration="24" aria-label="@bramus 的视频"></video>
  </div>
</div>
