Building and Publishing
Building the Plugin
Use the Aurelia CLI to build your plugin:
This command generates two module formats:
dist/native-modules/
: ES2015 module formatdist/commonjs/
: CommonJS module format
Build Output Structure
Consuming the Plugin
Direct Git Reference
Install directly from a Git repository:
Loading the Plugin in an Aurelia App
Publishing to npm
Prepare for Publication
Remove
"private": true
frompackage.json
Update version and publish
Automated Changelog and Publishing
Install changelog utilities:
Update package.json
scripts:
Last updated
Was this helpful?