The Phoenix 1.4 release got me excited, so immediately after seeing it, I updated my example Dockerized Phoenix application to 1.4.
That example was already using Webpack 3.x with Phoenix 1.3, so I updated the
assets/ directory to match what Phoenix 1.4 uses but upgrading Webpack to 4.4+ is proving to melt my brain since my example project uses SCSS and optimizes some of the plugin loading based on environment.
So I’m asking for your help. Can someone who is a webpack god open up a PR which updates all of the asset dependencies and also converts the existing Webpack 3.x config to 4.x using Webpack best practices? It would be much appreciated, thanks!
The repo can be found at: https://github.com/nickjj/docker-web-framework-examples/tree/master/phoenix