File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ import { globSync } from 'node:fs';
22import { defineConfig } from 'vitest/config' ;
33import { playwright } from '@vitest/browser-playwright' ;
44
5+ // Explicit entry points for every component registration file and the components barrel.
6+ // Registration files follow the naming convention {name}/{name}.ts (e.g. button/button.ts),
7+ // which distinguishes them from button.element.ts, button.story.ts, and button.test.ts.
8+ // These entries are required so Rolldown preserves the exports of each registration file —
9+ // without them, Rolldown strips re-exports it considers redundant (since the element class is
10+ // also reachable via button.element.js), breaking the cherry-pick import pattern.
511const componentEntries = Object . fromEntries (
612 [
713 'src/components/index.ts' ,
You can’t perform that action at this time.
0 commit comments