Skip to content

Include Paths for @import doesn't seems to work with Bootstrap #52

@Sly36

Description

@Sly36

I have a "_variables.scss" with two imports :
@import "~bootstrap/scss/functions"; @import "~bootstrap/scss/variables";

When i run
sass-export src/styles/common/_variables.scss -o src/exported-sass-variables.json -d "node_modules/bootstrap/scss/"

sass-export throw an error :
Error: File to import not found or unreadable: ~bootstrap/scss/functions.

even if I replace the ~ (shortcut to node_modules) by the relative path to node_modules

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