8000 depend on plotly.js-dist instead of plotly.js · SzymonSebMalecki/react-plotly.js@d160767 · GitHub
[go: up one dir, main page]

Skip to content

Commit d160767

Browse files
committed
depend on plotly.js-dist instead of plotly.js
1 parent ed21137 commit d160767

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"mkdirp": "^1.0.4",
5959
"nodemon": "^2.0.4",
6060
"onetime": "^5.1.2",
61-
"plotly.js": "^1.35.0",
61+
"plotly.js-dist": "^1.39.0",
6262
"prettier": "^2.1.1",
6363
"react": "^16.13.1",
6464
"react-addons-test-utils": "^15.6.0",
@@ -69,7 +69,7 @@
6969
"uglify-js": "^3.10.4"
7070
},
7171
"peerDependencies": {
72-
"plotly.js": ">1.34.0",
72+
"plotly.js-dist": ">=1.39.0",
7373
"react": ">0.13.0"
7474
},
7575
"browserify-global-shim": {

src/react-plotly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import plotComponentFactory from './factory';
2-
import Plotly from 'plotly.js/dist/plotly';
2+
import Plotly from 'plotly.js-dist';
33

44
const PlotComponent = plotComponentFactory(Plotly);
55

0 commit comments

Comments
 (0)
0