Closed andywer closed 7 years ago
Just some quick thought:
const webpackConfig = [ baseConfig(), devServer({ port: 1234 }) ].reduce( (config, configExtender) => Object.assign(config, configExtender(config)), {} ) const defaultDevServer = devServer({ port: 1234 }) [ ... defaultDevServer ]
See https://github.com/andywer/webpack-blocks for a draft.
Ohh yeah, webpack-blocks it is.
Just some quick thought: