Home

Awesome

Asset pipeline using Webpack.

RTFM lazy programmer :D

What is inside?

Setup

Clone the repo replacing the assets folder of your project

git clone git@github.com:yordis/phoenix_assets_webpack.git    path/to/assets
cd path/to/assets

Install the packages

npm install
# or if you prefer yarn
yarn install

Change the watchers on config/dev.exs file.

watchers: [npm: ["start", cd: Path.expand("../assets", __DIR__)]]

What's next?

Hack your setup. Open issues and Repeat.