Skip to content

Import mapping to scoped repo #317

@marcobiedermann

Description

@marcobiedermann

According to the docs, postcss-import support importing from node_modules.
Unfortunately this does not work with scoped repositories and .css file extension:

node_modules/@brand/package-1
@import '@brand/package-1.css;'

To get it to work, I have to remove the file-extension @import '@brand/package-1; but this might cause resolving issues than also using JS imports.

I am not sure if #306 tackles this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions