From db41c9276a9202ba829b6be9b7fb203464ada7bb Mon Sep 17 00:00:00 2001 From: Christiaan Westerbeek Date: Wed, 17 May 2017 13:17:16 +0200 Subject: [PATCH] Make importable with webpack 2 --- index.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..621697f --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +require('./dist/index'); +module.exports = 'nemLogging'; diff --git a/package.json b/package.json index 5a78aaa..1997bc3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "angular-simple-logger", "version": "0.1.7", "description": "Basic logger with level logging which can also be independent.", - "main": "./dist/index.js", + "main": "index.js", "scripts": { "start": "gulp", "test": "gulp spec"