react-toolbox / react-toolbox-themr

A tool to statically extract and generate custom themes for React Toolbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

External config properties ignored

anri-asaturov opened this issue · comments

So if you specify external config file via --config rtb.json,
all is good up until src/configure.js/getConfig() executes, I don't know ramda and didn't debug further, but getConfig() returns configuration where all properties from external file are replaced with default ones.

Actually the const inputOptions = R.merge(C.DEFAULT_OPTIONS, filterInput(config)) is replacing the defaults with external. Maybe there is something missing, I'm trying out asap

Maybe filterInput doesn't do what it's supposed to