New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/*#__PURE__*/ annotations don't play well with Vite / Rollup #2692
Labels
Type: TypeScript
Issues related to typescript or type definitions
Comments
Could you share a reproduceable example or at least the rollup/vite configs? |
Example:
|
carbonrobot
added
the
Type: TypeScript
Issues related to typescript or type definitions
label
Jan 5, 2024
I have a working solution for this, will get it published soon! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When building a project with Vite 5 and Rollup, the following non-blocking warnings are outputted:
Victory version
36.7.0
To Reproduce
Steps to reproduce the behavior:
✔ Project name: … test-victory-warns
✔ Select a framework: › React
✔ Select a variant: › TypeScript + SWC
import { VictoryBar } from "victory”;
and<VictoryBar />
Expected behavior
No warnings.
The text was updated successfully, but these errors were encountered: