docs: function createConfig(initialContext, configSetters) {
    if (!initialContext) {
      throw new Error(`No initial context passed.`)
    }
    assertConfigSetters(configSetters)
  
    const baseConfig = {
      resolve: {
        // Explicitly define default extensions, otherwise blocks will overwrite them instead of extending
        extensions: ['.js', '.json']
      },
      // Less noisy than default settings
      stats: {
        children: false,
        chunks: false,
        modules: false,
        reasons: false
      },
      module: {
        rules: []
      },
      plugins: []
    }
  
    invokePreHooks(configSetters, initialContext)
    const config = invokeConfigSetters(configSetters, initialContext, baseConfig)
    const postProcessedConfig = invokePostHooks(configSetters, initialContext, config)
  
    return postProcessedConfig
  }