WebPack.Plug.Static (reaxt v4.0.1)
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
Link to this section Summary
Link to this section Functions
Link to this function
call(conn, opts)
Callback implementation for Plug.call/2
.
Link to this function
init(opts)
Callback implementation for Plug.init/1
.
Link to this function
static_plug(conn, static_opts)
Link to this function