docs: async function createWebpackConfig (app) {
      const { SOCKJS_ENDPOINT, GRAPHQL_ENDPOINT, GRAPHQL_WS_ENDPOINT } = process.env
  
      const config = await app.resolveChainableWebpackConfig()
  
      config
        .plugin('friendly-errors')
        .use(require('friendly-errors-webpack-plugin'))
  
      config
        .plugin('injections')
        .tap(args => {
          const definitions = args[0]
          args[0] = {
            ...definitions,
            'process.env.SOCKJS_ENDPOINT': JSON.stringify(SOCKJS_ENDPOINT || sock.url),
            'process.env.GRAPHQL_ENDPOINT': JSON.stringify(GRAPHQL_ENDPOINT || server.url.graphql),
            'process.env.GRAPHQL_WS_ENDPOINT': JSON.stringify(GRAPHQL_WS_ENDPOINT || server.url.websocket)
          }
          return args
        })
  
      config.entryPoints.store.forEach((entry, name) => {
        config.entry(name)
          .prepend(`webpack-hot-middleware/client?name=${name}&reload=true`)
          .prepend('webpack/hot/dev-server')
      })
  
      return app.resolveWebpackConfig(false, config)
    }