About code organization in eex templates, with socket and Presence

Before you get too far into the weeds with Brunch you may want to consider switching to Webpack 4.

Scavenging the Phoenix 1.4 setup for 1.3.2 is described here. The Webpack configuration for multi-page-applications is documented.

Webpack will pull in any imported dependencies into the bundle as long as it knows where to look.

1 Like