Skip to content

Commit 5a0af7b

Browse files
committed
move up node compat table
1 parent 6be36aa commit 5a0af7b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

CUSTOM_BUNDLE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Custom bundle
22
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.
33

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+
411
Clone plotly.js, where the <version> is one of [these](https://github.com/plotly/plotly.js/tags):
512
```sh
613
git clone --branch <version> https://github.com/plotly/plotly.js.git
@@ -13,13 +20,6 @@ Move to plotly.js folder then install plotly.js dependencies:
1320
cd plotly.js
1421
```
1522

16-
Make sure you have the versions of node/npm that's recommended:
17-
- plotly.js before 2.5: Node 12/npm 6
18-
- plotly.js from 2.5: Node 16/npm 8
19-
- plotly.js from 2.35: Node 18/npm 10
20-
21-
To download a specific node version look [here](https://nodejs.org/en/download/package-manager).
22-
2323
Install the dependencies
2424
```sh
2525
npm i

0 commit comments

Comments
 (0)