Skip to content

Commit 48ed832

Browse files
committed
revert changes to CUSTOM_BUNDLE.md
1 parent 04ce6ee commit 48ed832

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

CUSTOM_BUNDLE.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,26 @@ npm run custom-bundle -- --traces scatter,scattergl --strict
5555
```
5656

5757
Use the `out` option to change the bundle filename (default `custom`).
58-
The new bundle will be created in the `dist/` directory and named `plotly-<out>.js` and `plotly-<out>.min.js` for minified.
58+
The new bundle will be created in the `dist/` directory and named `plotly-<out>.min.js` or `plotly-<out>.js` if unminified.
5959
```sh
6060
npm run custom-bundle -- --out myBundleName
6161
```
6262

63+
Use the `unminified` option to disable compression.
64+
```sh
65+
npm run custom-bundle -- --unminified
66+
```
67+
6368
# Example illustrating use of different options together
64-
To create a custom bundle named `myScatters` including `scatter`, `scattergl` and `scatter3d` traces without any transforms:
69+
To create an unminified custom bundle named `myScatters` including `scatter`, `scattergl` and `scatter3d` traces without any transforms:
6570
```sh
6671
npm run custom-bundle -- \
72+
--unminified \
6773
--out myScatters \
6874
--traces scatter,scattergl,scatter3d \
6975
--transforms none
7076
```
7177
Or simply on one line:
7278
```sh
73-
npm run custom-bundle -- --out myScatters --traces scatter,scattergl,scatter3d --transforms none
79+
npm run custom-bundle -- --unminified --out myScatters --traces scatter,scattergl,scatter3d --transforms none
7480
```

0 commit comments

Comments
 (0)