From f64e76c356874aa46966aa85340a78ff88ced8fe Mon Sep 17 00:00:00 2001 From: vrichard Date: Mon, 4 Sep 2017 17:10:29 +0200 Subject: [PATCH] Added '.js' extension to the
attribute in package.json, for compatibility with various loaders or bundlers (webpack, systemjs, browserify,...) or any other independent lib which may use package.json. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f526e829..6690627c 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "standard": "^10.0.2", "standard-markdown": "^4.0.1" }, - "main": "./lib/index", + "main": "./lib/index.js", "scripts": { "coverage": "istanbul cover -i 'lib/**' -x '**/__tests__/**' test.js", "coveralls": "coveralls < coverage/lcov.info",