Compiling External Resources with Elixir ModestEx - Pipeable transformations on html strings (with CSS selectors)

Webpack + Phoenix

Repo: https://github.com/straw-hat-team/phoenix_assets_webpack

Sharing the latest updates of Webpack setup for Phoenix.

  • Upgraded to Webpack 4
  • Added Elm
  • Added ESLint + Prettier
  • Added .env
  • Added service workers

Enjoy!

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.