Skip to content
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

TSUP error : no loader is configured for html #315

Open
AAYUSKARKI opened this issue Oct 23, 2024 · 2 comments
Open

TSUP error : no loader is configured for html #315

AAYUSKARKI opened this issue Oct 23, 2024 · 2 comments

Comments

@AAYUSKARKI
Copy link

How do I include loader of html ,html file is not building

@viktor-c
Copy link

viktor-c commented Dec 24, 2024

tsup bundles everything you need to create a .js file.
Why would you want to bundle that?
You can go to package.json and add exclude html files from bundling.

  "tsup": {
    "entry": ["src","!src/**/__tests__/**","!src/**/*.test.*","!src/**/*.htm*"],

@AAYUSKARKI
Copy link
Author

Ok bro,thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants