-
Notifications
You must be signed in to change notification settings - Fork 556
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
Partial scss files automatically compiled #785
Comments
I've tried to manually exclude files starting with an underscore changing the
which seems to automatically create an asset for the dependant files, maybe worth checking if those files are in the |
So the automatic load of the child asset makes the compiler automatically run on it. |
+1 |
1 similar comment
+1 |
Added a flag to ignore partial files in the ScssphpFilter #830 |
I'm not sure if it's a bug or a non-correct use of the library, I've create a sample app to demonstrate the issue: https://github.com/alex88/assetic-test
I've configured assetic this way so I don't have to add the filter in all the
stylesheets
declarations:and I've this sample structure (bootstrap source has something like that) https://github.com/alex88/assetic-test/tree/master/web/assets/scss
Basically there is
bootstrap.scss
which is the main file and it's what is included in the template, then there is a_mixins.scss
partial that includes the mixins and a_something.scss
partial which includes a scss rule using the mixin provided by the previous partial.Now,
assetic:dump
works fine since includes the files in the various stylesheets declarations in the templates, and so includes the partials in the correct order and dependency.assetic:watch
instead since tries to compile all files gives error on the_something.scss
partial since doesn't include the mixins partial.Is that an expected behaviour since that's what the
apply_to
setting actually does or is it a bug?The text was updated successfully, but these errors were encountered: