Using the option to add a custom loader for css:
loader: {
".css": "local-css",
}
Breaks tailwind classes, I tried using .module.css
, but it wouldn't detect the files correctly.
Minimal example: https://stackblitz.com/edit/stackblitz-starters-wxe1qn
Maybe that's an issue with esbuild, I'm not sure, but I'm trying to figure it out with tsup first.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too