I have been waiting for this day to come for a long time now: the Aurelia CLI now supports scaffolding Webpack applications from scratch.
My biggest gripe with the skeletons the Aurelia team provide is they have a lot of stuff in them I have to remove for every new project.
Admittedly, the skeletons serve to showcase how a functional Aurelia application could look like — but make a lot of assumptions on things like using a router or Fetch to make HTTP requests.
Heavily driving the support for Webpack is core team member Jeroen Vinke who has made countless contributions and improvements to the CLI (amongst a few other developers).
To start scaffolding Webpack applications, make sure you update your CLI by installing the latest version: npm install -g aurelia-cli
and going through the au new
wizard process.
The CLI still lacks the ability to update your Aurelia applications using older versions of the CLI, so starting a new project and copying your files across is still the current approach for doing so (for now).