diff --git a/index.js b/index.js new file mode 100644 index 0000000..078ae1f --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +require('./dist/ocLazyLoad.js'); +module.exports = 'oc.lazyLoad'; diff --git a/package.json b/package.json index 81e13e5..aa091a0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "oclazyload", "version": "1.0.9", "description": "Load modules on demand (lazy load) with angularJS", - "main": "dist/ocLazyLoad.js", + "main": "index.js", "author": "Olivier Combe ", "license": "MIT", "homepage": "https://github.com/ocombe/ocLazyLoad", @@ -57,4 +57,4 @@ "semver": "~4.3.6", "streamqueue": "~0.1.3" } -} \ No newline at end of file +}