Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elaborate on custom bundle instructions #7101

Merged
merged 25 commits into from
Aug 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions CUSTOM_BUNDLE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Custom bundle
You can simply make custom bundles yourself, if none of the [distributed packages](https:/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.

Clone plotly.js, move to plotly.js folder then install plotly.js dependencies:
Clone plotly.js, where the <tag_name> is one of the [these](https:/plotly/plotly.js/tags):
```sh
git clone --depth 1 --branch <tag_name> https:/plotly/plotly.js.git
birkskyum marked this conversation as resolved.
Show resolved Hide resolved
```

Move to plotly.js folder then install plotly.js dependencies:
```sh
git clone --depth 1 https:/plotly/plotly.js.git
cd plotly.js
npm i
```
Expand Down