Skip to content

prependData, but @import's paths in it to files relative to them #280

@MarkTanashchuk

Description

@MarkTanashchuk

In my project, I have mobile.scss next to each component and this kind of file structure:

+Component(folder)
++Component.svelte
++mobile.scss

+Component2(folder)
++Component2.svelte
++mobile.scss

I would like to have @import "./mobile.scss" in each component and each component take its own mobile.scss

Is it possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions