Koa based middleware for webpack development