You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CUSTOM_BUNDLE.md
+22-3Lines changed: 22 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,29 @@
1
1
# Custom bundle
2
2
You can simply make custom bundles yourself, if none of the [distributed packages](https://github.com/plotly/plotly.js/blob/master/dist/README.md) meet your needs, or you want to make a more optimized bundle file with/without specific traces and transforms.
3
3
4
-
Install plotly.js, move to plotly.js folder then install plotly.js dependencies:
4
+
Make sure you have the versions of node/npm that's recommended:
5
+
- plotly.js before 2.5: Node 12/npm 6
6
+
- plotly.js from 2.5: Node 16/npm 8
7
+
- plotly.js from 2.35: Node 18/npm 10
8
+
9
+
To download a specific node version look [here](https://nodejs.org/en/download/package-manager).
10
+
11
+
Note: For CI, it's faster to do `git clone --depth 1` to only get one commit.
12
+
13
+
Clone plotly.js, where the <version> is one of [these](https://github.com/plotly/plotly.js/tags):
0 commit comments