chrome-extension-multiple-entry-points
Installation
SKILL.md
The Problem
Chrome extensions need multiple entry points (background, content, popup), but modern bundlers create shared chunks that Chrome cannot load across isolated execution contexts.
The Solution
Use a separate Vite config file for each entry point. Each build produces a self-contained IIFE file with no shared chunks.