When I use tsup to bundle, and in a JavaScript file I use import or require to import npm packages like axios, I encounter errors when including the bundled JS file in a native HTML file. How can I resolve this issue? Please...
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.
When I use tsup to bundle, and in a JavaScript file I use
import
orrequire
to import npm packages like axios, I encounter errors when including the bundled JS file in a native HTML file. How can I resolve this issue? Please...Upvote & Fund