Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

added commonjs package manager support#1369

Open
arnochauveau wants to merge 1 commit intoionic-team:dev-nextfrom
arnochauveau:export-module-name
Open

added commonjs package manager support#1369
arnochauveau wants to merge 1 commit intoionic-team:dev-nextfrom
arnochauveau:export-module-name

Conversation

@arnochauveau
Copy link

makes it possible to use ng-cordova with your favorite commonjs package manager(componentjs, webpack, etc..):

var ngCordova = require('ng-cordova');

angular.module('my-app', [ngCordova]);

or in ES6:

import * as ngCordova from 'ng-cordova';

angular.module('my-app', [ngCordova]);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant