Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Import from .pcss files #209

@Charlie91

Description

@Charlie91

Hi.
I'm trying to get variables declared in specific file from any other .pcss file.

I'm doing it this way:
require('postcss-custom-properties')({ preserve: false, importFrom: 'src/styles/base.css', }),
The problem is it is working only if I use css-file for my variables, and if I use it like this importFrom: 'src/styles/base.pcss it is not

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