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
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 thisimportFrom: 'src/styles/base.pcss
it is not