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",