UNPKG

d3-geo-scale-bar

Version:

Displays automatic scale bars for projected geospatial data.

20 lines (19 loc) 357 B
import babel from "rollup-plugin-babel"; import resolve from "rollup-plugin-node-resolve"; export default { input: "index.js", output: { extend: true, file: "build/d3-geo-scale-bar.js", format: "umd", name: "d3" }, plugins: [ resolve({ only: ["d3-format"] }), babel({ exclude: "node_modules/**" }) ] };