Aurelia CLI Webpack Update!

Posted by AureliaEffect on August 18, 2017

Today, I'm thrilled to announce that we've added support for Webpack 3 to the Aurelia CLI. With this addition, the CLI supports project generation equally for Webpack, SystemJS and RequireJS.

Thanks to the hard work of core team member Jeroen Vinke and many awesome members of our community , the Aurelia CLI has been making fantastic advancements. With this release, we've added project generation, build, run and test support for Webpack 3. We've also made a ton of bug fixes and enhancements to the core tool along the way.

Here is the list of what the CLI now supports for project generation, out of the box:

Build/Bundle Options

  • RequireJS
  • SystemJS
  • Webpack!!!

Transpiler Options

  • Babel
  • Typescript

HTML Options

  • Normal
  • Minimum Minification
  • Maximum Minification

CSS Options

  • CSS
  • Less
  • Sass
  • Stylus
  • PostCSS

Unit Test Runner Options

  • None
  • Karma
  • Jest

Integration Test Options

  • None
  • Protractor

Code Editor Options

  • Visual Studio Code
  • Atom
  • Sublime
  • Webstorm
  • Other

Additionally, if you are a fan of ASP.NET JavascriptServices, the CLI can use the above options to set that up too!

The Aurelia CLI helps you get up and running quickly with your favorite technologies, making it the best way to start your new project.

The project setup that the CLI creates is similar to the Webpack Skeleton Navigation project. If you would like to migrate from the Webpack Skeleton Navigation project to the CLI, simply create a new project (au new) and copy over the source files and webpack configuration.

We hope you enjoy this update to the CLI and we look forward to continuing to improve this great tool as we move steadily ahead.

Release Notes

Bug Fixes