Skip to content

Commit ffa614b

Browse files
Andy Leemhooper-scottlogic
authored andcommitted
Set back to reference "cjs" dependency, with yarn focus (#74)
* Set back to reference "cjs" dependency, with yarn focus This change requires the use of `yarn install --focus" in the perspective-viewer-d3fc folder, if you're only compiling the plugin (so that the dependency with the /cjs folder is pulled in locally) * Update to work without global install webpack Must pick webpack 3.5.6 when doing `yarn install --focus` * Silence webpack error relating to "@d3fc/d3fc-data-join" reference
1 parent 6bf0af5 commit ffa614b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/perspective-viewer-d3fc/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"gradient-parser": "0.1.5"
5353
},
5454
"devDependencies": {
55-
"babel-loader": "^8.0.5"
55+
"babel-loader": "^8.0.5",
56+
"webpack": "^3.5.6"
5657
}
5758
}

packages/perspective-viewer-d3fc/src/js/d3fc/axis/axis.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {select} from "d3-selection";
22
import {line} from "d3-shape";
3-
import {dataJoin as _dataJoin} from "@d3fc/d3fc-data-join";
3+
import {dataJoin as _dataJoin} from "d3fc";
44

55
const identity = d => d;
66

0 commit comments

Comments
 (0)