ExWebpack

Webpack compiler for those who dont want an entire Phoenix stack. This was heavily inspired by elixir_make Also uses Phoenix.Endpoint.Watcher

I guess this could technically be expanded to wrap any Node/Web project if there is interest in that.

Usage

in your project/0 add:

compilers: [:ex_webpack] ++ Mix.compilers,

if you want to run the watcher in project/0 add:

watch_webpack: Mix.env == :dev

Installation

If available in Hex, the package can be installed by adding ex_webpack to your list of dependencies in mix.exs:

def deps do
  [{:ex_webpack, "~> 0.1.0", runtime: false}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_webpack.