From 23369a19d5f457afee675e684512c59c7b5c2036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86ndrew=20Rininsland?= Date: Sat, 27 May 2017 23:21:59 -0500 Subject: [PATCH] Adding D3 as a global to Rollup --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7990a2f..2a2dd82 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "serve": "static -p 8080 htdocs/", "prepublish": "npm run dist", "lint": "grunt lint", - "build": "rollup -f umd --name c3 src/index.js > c3.js", + "build": "rollup -f umd --name c3 --globals d3:d3 src/index.js > c3.js", "minify": "grunt minify", "test": "npm run build && npm run lint && karma start karma.conf.js", "dist": "npm run build && npm run minify",