Updating & migrating
Updating
To keep the Aurelia CLI up-to-date:
Migrating
From CLI Bundler to Webpack
To migrate your project from the CLI's built-in bundler to Webpack:
Install Webpack Dependencies:
Generate Webpack Configuration:
Update Project Files:
Replace
aurelia_project/tasks
with Webpack configurations.Adjust
package.json
scripts accordingly.
Upgrade to Auto-tracing Bundler
Ensure your Aurelia CLI is updated to version 1.0.0-beta.1
or above to utilize the auto-tracing bundler.
Hint: Auto-tracing enhances dependency management by reducing manual configurations.
Update 3rd Party Plugin Installation Guide
When updating or installing 3rd party plugins:
Install via NPM:
Configure in
aurelia.json
:Add necessary entries in the
dependencies
array.Update
copyFiles
if additional assets are required.
Last updated
Was this helpful?