Join GitHub today
[dev-tools] Support babel/webpack config files in package #113
I will add documentation in a follow up PR.
ibgreen left a comment
Thanks, this is very appreciated, big improvement, good to land!!!
As to my remaining concern: If I read this correctly, this system will work without any config files in the repo, and then even when you add them, it is ocular instead of the application that controls the merging and override management.
So not as easy to discover which files are available for config, and not as easy to "sniff" what settings ocular is using.
In my original thinking you'd be required to have local files, and you would simply import and re-export ocular configs in them.
So far this explicit setup has seemed to be appreciated by folks we presented the system to, as one of the first questions are concerned about how easy it is to make their own configurations/overrides.
If a config file is found in the repo, it is used instead of the default config. There is no merging unless the user imports and uses the default config in their own config file.