Manifest files storage#166
Conversation
|
This MR adds unnecessary complexity and special-casing for one storage class. We should not do that. As in the previous I-don't-know-how-many iterations of this topic: The I am pushing an MWE right now, and waiting for @jrief to disprove that it works. |
|
So, here you go: https://github.com/Natureshadow/sass_mwe In order for me to understand why this change is needed, please prove that this simple MWE yields a different result for you. |
|
As per the comment in Natureshadow/sass_mwe#1, the issue occurs when recompiling CSS during runtime, instead of properly building for deployment. IMHO, rebuilding application code (that includes stylesheets!) during runtime in production is an anti-patern in itself. Ironically, the reason I am using an S3 storage is actually because I need to rebuild stylesheets during runtime in production :D (due to limitations of Materialize). Yet, this still doesn't mean we need a new storage class as a special case for the manifest storage. The processor should simply call |
I compile all my SCSS files and collect all my CSS files during the build process of the Docker container used for deployment.
that's too late. The error occurs before. |
This branch is based on version 1.2.1 which is able to handle the manifest static files storage properly.
pathlib.Pathinstead ofos.path....