File tree 1 file changed +9
-3
lines changed
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
55
55
```
56
56
57
57
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 .
59
59
``` sh
60
60
npm run custom-bundle -- --out myBundleName
61
61
```
62
62
63
+ Use the ` unminified ` option to disable compression.
64
+ ``` sh
65
+ npm run custom-bundle -- --unminified
66
+ ```
67
+
63
68
# 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:
65
70
``` sh
66
71
npm run custom-bundle -- \
72
+ --unminified \
67
73
--out myScatters \
68
74
--traces scatter,scattergl,scatter3d \
69
75
--transforms none
70
76
```
71
77
Or simply on one line:
72
78
``` 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
74
80
```
You can’t perform that action at this time.
0 commit comments