diff --git a/src/plugins/mixpanel.ts b/src/plugins/mixpanel.ts index 6137a9e0c..7185ee4c4 100644 --- a/src/plugins/mixpanel.ts +++ b/src/plugins/mixpanel.ts @@ -5,12 +5,6 @@ declare var mixpanel: any; /** * @private */ -export const pluginMeta = { - name: 'Mixpanel', - plugin: 'cordova-plugin-mixpanel', - pluginRef: 'mixpanel', - repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin' -}; /** * @name Mixpanel @@ -27,7 +21,12 @@ export const pluginMeta = { * * ``` */ -@Plugin(pluginMeta) +@Plugin({ + name: 'Mixpanel', + plugin: 'cordova-plugin-mixpanel', + pluginRef: 'mixpanel', + repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin' +}) export class Mixpanel { /** *