micromata/Baumeister

Externalize Baumeister specific config

nicolaisueper opened this issue · 4 comments

Hey there,

So far we're configuring Baumeister via the baumeister property inside the package.json.

I think we should consider to externalize the config into something like baumeister.json, because if we add more user specific configs we'll bloat up our package.json.

I feel it’s like a trend to add the settings of tools to a nested property within package.json.

See:

But maybe I’m wrong. Plus, I really don’t have a strong option on that one.

I guess this issue needs a few 👍 / 👎 .

Further context: We will blow the settings with two properties to expose webpack plugin configs as soon as #211 is merged.

There actually is one argument for using an external config file. Which is easier configurability when we are transferring Baumeister to an own CLI.

Let’s do this.

baumeister.json seems to be a good idea.