Switching an existing Phoenix app from Brunch to Webpack

Phoenix version 1.4 onwards will be using webpack as a module bundler for javascript. This blog post is about the steps which I followed to switch from brunch to webpack in an existing Phoenix project. Clone Phoenix Since Phoenix 1.4 is unreleased as of when this blog is published, we will generate a new project […]

Phoenix version 1.4 onwards will be using webpack as a module bundler for javascript. This blog post is about the steps which I followed to switch from brunch to webpack in an existing Phoenix project.
Clone Phoenix Since Phoenix 1.4 is unreleased as of when this blog is published, we will generate a new project using Phoenix source installer. Clone Phoenix and run –
cd phoenix/installer mix phx.new dev_app –dev Run npm install in dev_app/assets folder.
Source: Codemancers