reaxt v1.0.0 WebPack.Plug.Static

This plug API is the same as plug.static, but wrapped to :

  • wait file if compiling before serving them
  • add server side event endpoint for webpack build events
  • add webpack “stats” JSON getter, and stats static analyser app

Summary

Functions

call(conn, opts)

Callback implementation for Plug.call/2.

init(opts)

Callback implementation for Plug.init/1.

static_plug(conn, static_opts)
wait_compilation(conn, )