Closed chdsbd closed 5 years ago
Show your ./client/variables.json
{
"variables": {
"blue-grey-400": "#77909d",
"blue-grey-500": "#5f7d8c",
"blue-grey-600": "#536e7b",
"blue-grey-700": "#445a65",
"blue-grey-800": "#37474f",
"blue-grey-900": "#253238",
}
}
Thanks so much, that was it! The format was wrong. I made it all flat and it works!
{
"blue-grey-400": "#77909d",
"blue-grey-500": "#5f7d8c",
"blue-grey-600": "#536e7b",
"blue-grey-700": "#445a65",
"blue-grey-800": "#37474f",
"blue-grey-900": "#253238",
}
To provide some background, I was porting/updating postcss to use plain JS instead of a Meteor package, so I guess this format must have changed somewhere along the way.
Hello, I'm not sure what's going on, but I believe I have configured this package correctly so that the variables should be replaced.
Here's my config. Is there anything obviously incorrect?
The require for
variables.json
is correctly loading the JSON file, but I'm getting the the following error (I've cleaned it up a bit) at compilation.Any suggestion on how to debug this would be greatly appreciated.