Hi,
I have a ui component library and I added data-testid to the components so that I can test them with jest but I read that it could be a security issue if it remains in production. Now I want to remove the data-testid when running the build command.
Is there a way to do that in tsup?
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
Hi, I have a ui component library and I added
data-testid
to the components so that I can test them with jest but I read that it could be a security issue if it remains in production. Now I want to remove thedata-testid
when running the build command.Is there a way to do that in tsup?
Upvote & Fund