postcss/postcss-custom-properties

Import from .pcss files

Charlie91 opened this issue · 1 comments

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