lyn v0.0.16 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

Callback implementation for c:Plug.call/2

Callback implementation for c:Plug.init/1

Functions

call(conn, opts)

Callback implementation for c:Plug.call/2.

init(opts)

Callback implementation for c:Plug.init/1.

static_plug(conn, static_opts)
wait_compilation(conn, )