Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Handle .sass file extensions #83

@WossomGonzo

Description

@WossomGonzo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions