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
First of all, thanks a lot for this package!
There is a question - there is a validation that prohibits naming scss files the same way, even if they are in different folders. (https://github.com/SymfonyCasts/sass-bundle/blob/main/src/DependencyInjection/SymfonycastsSassExtension.php#L82)
We have a large project, thousands of scss files, and we have times when the file is called just index.scss
Is this limitation justified by something, or is it a groundwork for something that can be improved? Or are we doing something wrong and should we name the files uniquely? Thank you.
The text was updated successfully, but these errors were encountered:
Hey there! The current implementation for processing those files requires you to have unique file names, IIRC that's because all those files are dumped to the same directory in public/. I don't remember any blockers that would stop us from fixing this issue, so if you want to give it a try and create a PR - go for it, it would be much appreciated. I suppose the final dumped file name should include the dir as well, the only possible problem I see so far is with long names when the path has many nested folders. Or probably it would be enough to prepend the name of the last folder only instead of following the full path in many folders. I'm open to any suggestions
First of all, thanks a lot for this package!
There is a question - there is a validation that prohibits naming scss files the same way, even if they are in different folders. (https://github.com/SymfonyCasts/sass-bundle/blob/main/src/DependencyInjection/SymfonycastsSassExtension.php#L82)
We have a large project, thousands of scss files, and we have times when the file is called just index.scss
Is this limitation justified by something, or is it a groundwork for something that can be improved? Or are we doing something wrong and should we name the files uniquely? Thank you.
The text was updated successfully, but these errors were encountered: