Skip to content

Commit ff8a884

Browse files
committed
use minimal plotly dist
1 parent 679345f commit ff8a884

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"mkdirp": "^1.0.4",
5959
"nodemon": "^2.0.6",
6060
"onetime": "^5.1.2",
61-
"plotly.js": "^1.35.0",
61+
"plotly.js-basic-dist": "^1.58.4",
6262
"prettier": "^2.2.1",
6363
"react": "^16.13.1",
6464
"react-addons-test-utils": "^15.6.0",

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-basic-dist';
33

44
const PlotComponent = plotComponentFactory(Plotly);
55

0 commit comments

Comments
 (0)