Skip to content

Commit

Permalink
Use exact paths in imports. d3/d3#3265
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Aug 9, 2019
1 parent 4972600 commit c960568
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/csv.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import dsv from "./dsv";
import dsv from "./dsv.js";

var csv = dsv(",");

Expand Down
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export {default as dsvFormat} from "./dsv";
export {csvParse, csvParseRows, csvFormat, csvFormatBody, csvFormatRows} from "./csv";
export {tsvParse, tsvParseRows, tsvFormat, tsvFormatBody, tsvFormatRows} from "./tsv";
export {default as autoType} from "./autoType";
export {default as dsvFormat} from "./dsv.js";
export {csvParse, csvParseRows, csvFormat, csvFormatBody, csvFormatRows} from "./csv.js";
export {tsvParse, tsvParseRows, tsvFormat, tsvFormatBody, tsvFormatRows} from "./tsv.js";
export {default as autoType} from "./autoType.js";
2 changes: 1 addition & 1 deletion src/tsv.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import dsv from "./dsv";
import dsv from "./dsv.js";

var tsv = dsv("\t");

Expand Down

0 comments on commit c960568

Please sign in to comment.