vite + react: PURE annotation that Rollup cannot interpret #74
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
Packages:
Description
There is an issue with simple
styled
interpolation upon vite build.When building with Vite:
I was trying to switch from styled-components to linaria for our components library and this error is populated for every interpolation in the project. I worry that it's not just a polite warning and may lead to breaking something later.
Reproducible Demo
https://stackblitz.com/edit/vitejs-vite-gfwqu5?file=src%2FApp.tsx
$ npm run build
(There is no issue when running
dev
command)The text was updated successfully, but these errors were encountered: