When building a Vite+React project, a "/*#__PURE__*/" warning is shown for every component using styled with props #1428
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: rollup 🗞️
Issue is related to rollup bundler
needs: complete repro 🖥️
Issue need to have complete repro provided
Environment
Description
When passing any prop to a component, the following warning appears in
npm run build
:During
npm run dev
no warnings are displayed.Reproducible Demo
I attached a zip with the minimal reproducible project:
The text was updated successfully, but these errors were encountered: