rubyonjets / jets

Ruby on Jets
http://rubyonjets.com
MIT License
2.6k stars 181 forks source link

remove need for sprockets-jets dependency #686

Closed tongueroo closed 11 months ago

tongueroo commented 11 months ago

This is a 🐞 bug fix. This is a 🙋‍♂️ feature or enhancement.

Summary

Allow jets applications to deploy without sprockets-jets. This can be useful for API projects that do not serve assets. This allows jets deploy to work when users remove the sprockets-jets from their Gemfile because they don't need it.

Note: There's actual use-cases for API projects that do serve assets. I actually have an API app that serves javascript and stylesheet assets. Going to leave the sprockets-jets in API mode for the jets new --mode api generator.

Context

Related #681

How to Test

Remove sprockets-jets from Gemfile and run:

jets deploy

Version Changes

Patch