Skip to content

Sanitize json keys #104

@thaithcock

Description

@thaithcock

Hi there,

I've got a json file that's essentially like:

{ "some key" : { "key": "value"} }

If I try importing this, sass loader throws SassError: expected ":" because the output scss is like

$some key: ( key: value )

I can change the key to some_key and it works fine, so there's a workaround. It would be nice if it would sanitize keys, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions