diff --git a/scripts/templates/wrap-min.tmpl b/scripts/templates/wrap-min.tmpl index 733c35cd..396826dc 100644 --- a/scripts/templates/wrap-min.tmpl +++ b/scripts/templates/wrap-min.tmpl @@ -11,6 +11,7 @@ import { Plugin } from './plugin'; * ``` */ @Plugin({ + name: 'PluginName', plugin: '', pluginRef: '', repo: '' diff --git a/scripts/templates/wrap.tmpl b/scripts/templates/wrap.tmpl index b80894b4..1e00a120 100644 --- a/scripts/templates/wrap.tmpl +++ b/scripts/templates/wrap.tmpl @@ -29,6 +29,7 @@ import { Observable } from 'rxjs/Observable'; * ``` */ @Plugin({ + name: 'PluginName', plugin: '', // npm package name, example: cordova-plugin-camera pluginRef: '', // the variable reference to call the plugin, example: navigator.geolocation repo: '', // the github repository URL for the plugin