Compiling sass/less files to <module>/client/css directory makes it difficult to differentiate between compiled and raw css files.
By compiling them to appropriate directories, compiled files can be easily ignored.
Compile sass/less files to appropriate directories
Include compiled sass/less files in asset
Ignore compiled sass/less files
How does this affect the less & sass settings below?
Why was this removed?
@mleanos Now, both less and sass files are compiled to module/client/css/ directory , ,
and only css files in module/client/css/ directory is used as css assets .
less and sass
My proposal is to compile sass/less files to module/client/(sass/less) directory itself instead of css directory (that is why directory rename is removed) and include css files from those directories also in css assets (add scss/less directories to css asset path).
@shanavas786 Thank you. That perfectly answered my questions. Also, I agree with the goals of these changes. It's definitely gonna be easier to manage these compiled assets.
LGTM. I haven't tested though, but the changes seem pretty straight forward.