Exporting multiple ui components causes webpack to complain about name conflicts:
Example console output?
The requested module './components/ui/alert-dialog' contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module './components/ui/accordion'
Import trace for requested module:
../../packages/ui/index.tsx
./app/page.tsx
../../packages/ui/index.tsx
The requested module './components/ui/aspect-ratio' contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module './components/ui/accordion'
Import trace for requested module:
../../packages/ui/index.tsx
./app/page.tsx
../../packages/ui/index.tsx
The requested module './components/ui/avatar' contains conflicting star exports for the names '$$typeof', '__esModule' with the previous requested module './components/ui/accordion'
Import trace for requested module:
../../packages/ui/index.tsx
./app/page.tsx
etc...
You can replicate this by installing every single component and then importing any of them inside of next.
Hey there,
Exporting multiple ui components causes webpack to complain about name conflicts:
Example console output?
You can replicate this by installing every single component and then importing any of them inside of next.
Versions: