You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context: I've had cssbundling-rails (1.4.1) working with a rails 7.0.x app for a while now. I got in the mood to upgrade things and it appears that things didn't play super nice with rails 7.2.1.1
My deployment has included a simple "bundle exec rake assets:precompile" but that stopped compiling my application.sass.scss file (to application.css) resulting in runtime errors post deployment.
Sprockets::Rails::Helper::AssetNotFound (The asset "application.css" is not present in the asset pipeline.
I had to modify my prod deployment to also include "yarn build:css" prior to assets:precompile.
Is this by design?
The README here says:
When you deploy your application to production, the css:build task attaches to the assets:precompile task to ensure that all your package dependencies from package.json have been installed via yarn, and then runs yarn build:css to process your stylesheet entrypoint, as it would in development
But this didn't appear quite so automatic after this 7.2 upgrade.
Let me know what other details I can provide. Thanks!
The text was updated successfully, but these errors were encountered:
Context: I've had cssbundling-rails (1.4.1) working with a rails 7.0.x app for a while now. I got in the mood to upgrade things and it appears that things didn't play super nice with rails 7.2.1.1
My deployment has included a simple "bundle exec rake assets:precompile" but that stopped compiling my application.sass.scss file (to application.css) resulting in runtime errors post deployment.
I had to modify my prod deployment to also include "yarn build:css" prior to assets:precompile.
Is this by design?
The README here says:
But this didn't appear quite so automatic after this 7.2 upgrade.
Let me know what other details I can provide. Thanks!
The text was updated successfully, but these errors were encountered: