@@ -34,6 +34,7 @@ partialBundlePaths
34
34
main : 'plotly-' + d . name + '.js' ,
35
35
dist : d . dist ,
36
36
desc : 'Ready-to-use plotly.js ' + d . name + ' distributed bundle.' ,
37
+ traceList : constants . partialBundleTraces [ d . name ]
37
38
} ;
38
39
} )
39
40
. concat ( [ {
@@ -42,6 +43,7 @@ partialBundlePaths
42
43
main : 'plotly.js' ,
43
44
dist : constants . pathToPlotlyDist ,
44
45
desc : 'Ready-to-use plotly.js distributed bundle.' ,
46
+ traceList : constants . allTraces
45
47
} ] )
46
48
. forEach ( syncPartialBundlePkg ) ;
47
49
@@ -54,6 +56,7 @@ partialBundlePaths
54
56
main : 'plotly-' + d . name + '.min.js' ,
55
57
dist : d . distMin ,
56
58
desc : 'Ready-to-use minified plotly.js ' + d . name + ' distributed bundle.' ,
59
+ traceList : constants . partialBundleTraces [ d . name ]
57
60
} ;
58
61
} )
59
62
. concat ( [ {
@@ -62,6 +65,7 @@ partialBundlePaths
62
65
main : 'plotly.min.js' ,
63
66
dist : constants . pathToPlotlyDistMin ,
64
67
desc : 'Ready-to-use minified plotly.js distributed bundle.' ,
68
+ traceList : constants . allTraces
65
69
} ] )
66
70
. forEach ( syncPartialBundlePkg ) ;
67
71
@@ -105,14 +109,12 @@ function syncPartialBundlePkg(d) {
105
109
106
110
107
111
function writeREADME ( cb ) {
108
- var traceList = d . traceList ;
109
-
110
112
var cnt = [
111
113
'# ' + d . name ,
112
114
'' ,
113
115
d . desc ,
114
116
'' ,
115
- 'Contains trace modules ' + common . formatEnumeration ( traceList ) + '.' ,
117
+ 'Contains trace modules ' + common . formatEnumeration ( d . traceList ) + '.' ,
116
118
'' ,
117
119
'For more info on plotly.js, go to https://github.com/plotly/plotly.js' ,
118
120
'' ,
0 commit comments