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
Production/Heroku issues? #8
Comments
This is an esbuild plugin, so it runs when That package will run For example: rails/jsbundling-rails#16 |
Weird. I see
|
Turns out this isn't directly related to esbuild-rails, but rather jsbundling-rails. From the README:
|
My recommendation is don't include any CSS in your JS files if you're going to use esbuild. Leave all the CSS imports in your CSS files. That's how we do it in Jumpstart Pro. |
That did the trick! Thanks for helping debug, Chris. To summarize, importing any CSS in |
Is there any additional configuration needed to get this working in production on Heroku? Everything works fine locally but when deployed there are no CSS or JavaScript assets.
P.S. Thanks so much for this – being able to glob import Stimulus controllers is 🔥
The text was updated successfully, but these errors were encountered: