<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tsup on PlumePHP</title><link>https://plumephp.com/tags/tsup/</link><description>Recent content in Tsup on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 28 Sep 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/tsup/index.xml" rel="self" type="application/rss+xml"/><item><title>TypeScript 构建性能优化：增量编译、缓存与工具链选型</title><link>https://plumephp.com/typescript-build-performance-optimization/</link><pubDate>Mon, 28 Sep 2026 10:00:00 +0800</pubDate><guid>https://plumephp.com/typescript-build-performance-optimization/</guid><description>&lt;h2 id="引言"&gt;引言&lt;/h2&gt;
&lt;p&gt;TS 项目越建越大，&lt;code&gt;tsc&lt;/code&gt; 全量编译动辄几十秒甚至几分钟，CI 里「每次全量编译」把开发节奏拖垮。优化的核心认知是：&lt;strong&gt;TS 的构建可以做「类型检查」和「转译」分离&lt;/strong&gt;——类型检查（tsc 的慢活）和代码转译（去掉类型的快活）本来就不必绑定。这带来了 &lt;code&gt;incremental&lt;/code&gt;、&lt;code&gt;esbuild/swc&lt;/code&gt;、&lt;code&gt;tsup&lt;/code&gt;、monorepo 缓存等一系列手段。&lt;/p&gt;</description></item></channel></rss>