d3 / d3-dsv

A parser and formatter for delimiter-separated values, such as CSV and TSV.
https://d3js.org/d3-dsv
ISC License
437 stars 76 forks source link

Set Rollup's options.extend to true #30

Closed curran closed 7 years ago

curran commented 7 years ago

Fixes #29.

Verified locally that with this change we get the desired output:

// https://d3js.org/d3-dsv/ Version 1.0.6. Copyright 2017 Mike Bostock.
(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
  (factory((global.d3 = global.d3 || {})));  <------------------ This is what we want.
}(this, (function (exports) { 'use strict';
mbostock commented 7 years ago

Oops! Thanks for the fix!