My understanding is that Rails.application.config.assets is Sprockets specific. If I comment out this line, the generators work fine. Is there a way to explicitly opt out of this line/initializer or would this be considered a bug, perhaps? This seems to be the only sprockets specific reference, although I'm not too sure. Other things probably don't work in a vite context since assets go in app/frontend typically with Vite. Although, again, in my case, all I'm after is the generators :)
I'd like to use this gem primarily for the scaffolding generators. When the gem is included, I get the following error:
This takes us to here: https://github.com/rails/tailwindcss-rails/blob/5c73dec4e38c9bd1664a530ecb66e938aaa4a3d0/lib/tailwindcss/engine.rb#L5-L7
My understanding is that
Rails.application.config.assets
is Sprockets specific. If I comment out this line, the generators work fine. Is there a way to explicitly opt out of this line/initializer or would this be considered a bug, perhaps? This seems to be the only sprockets specific reference, although I'm not too sure. Other things probably don't work in avite
context since assets go inapp/frontend
typically with Vite. Although, again, in my case, all I'm after is the generators :)