Skip to content

Commit 4b941d9

Browse files
committed
feat(commonjs): add CommonJs loader support
1 parent 50c1fe7 commit 4b941d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/http-auth-interceptor.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
* (c) 2012 Witold Szczerba
66
* License: MIT
77
*/
8+
9+
if (typeof module !== 'undefined' && typeof exports !== 'undefined' && module.exports === exports){
10+
module.exports = 'angular-http-auth';
11+
}
12+
813
(function () {
914
'use strict';
1015

0 commit comments

Comments
 (0)