denoland / fresh

The next-gen web framework.
https://fresh.deno.dev
MIT License
12.17k stars 623 forks source link

feat: allow plugins to specify static files #2253

Open deer opened 8 months ago

deer commented 8 months ago

This does two things:

  1. allow plugins to declare static files
  2. uptake this functionality in the tailwind plugin

The end result of this is that users no longer need to declare a styles.css when using tailwind. This seems nice. Of course this can be used in other plugins as well.

If you'd like, I can split this up into two PRs. But I thought this might be the easiest way to demonstrate why this is useful.