Skip to content

Loading JSON files with sass-loader #111

@lencioni

Description

@lencioni

I've been using the sass-json-vars project to import some configuration that I have shared between JS and Sass. This works by converting the JSON to Sass maps.

I'm trying to switch from the Sass gem to sass-loader and haven't found an easy way to preserve this feature. Do you have any suggestions for how to load JSON files in Sass with sass-loader?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions