Skip to content
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

Handle .sass file extensions #83

Open
WossomGonzo opened this issue Mar 21, 2025 · 0 comments
Open

Handle .sass file extensions #83

WossomGonzo opened this issue Mar 21, 2025 · 0 comments

Comments

@WossomGonzo
Copy link

Hi, I wanted to use .sass files in my project and I noticed that they aren't handled correctly in sass-bundle.

It is easily fixed by adding:

        if (str_contains($path, '.sass')) {
            return str_replace('.sass', '.css', $path);
        }

In line 27 of sass-bundle/src/AssetMapper/SassPublicPathAssetPathResolver.php
And in line 45 in the same file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant