From 61109b99d44991123597dd687ee4f42e9711686a Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 2 Aug 2016 14:26:39 -0700 Subject: [PATCH] Add module entry. Related rollup/rollup-plugin-node-resolve#48. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d71bf3..9f1106c 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "url": "http://bost.ocks.org/mike" }, "main": "build/d3-timer.js", + "module": "index", "jsnext:main": "index", "repository": { "type": "git", @@ -33,7 +34,7 @@ "devDependencies": { "eslint": "2", "package-preamble": "0.0", - "rollup": "0.33", + "rollup": "0.34", "tape": "4", "uglify-js": "2" }