File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -55,20 +55,26 @@ npm run custom-bundle -- --traces scatter,scattergl --strict
5555```
5656
5757Use 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
6060npm 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
6671npm run custom-bundle -- \
72+ --unminified \
6773 --out myScatters \
6874 --traces scatter,scattergl,scatter3d \
6975 --transforms none
7076```
7177Or 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```
You can’t perform that action at this time.
0 commit comments