From 95cee61d04de3af6b2548cbe8f5db2e790f574e4 Mon Sep 17 00:00:00 2001 From: Peyton-Spencer Date: Tue, 24 Feb 2026 14:53:19 -0500 Subject: [PATCH] fix: skip plugin entirely in production builds via apply: "serve" The plugin was consuming 90% of build time during `vite build` because Rolldown called into the transform hook for every module. Using Vite's `apply: "serve"` option removes the plugin entirely from the build pipeline in production, eliminating all hook call overhead. Co-Authored-By: Claude Opus 4.6