@@ -31,10 +31,9 @@ if(!doesFileExist(constants.pathToCSSBuild)) {
3131// memory consumption.
3232var tasks = [ ] ;
3333
34- // Browserify plotly.js
34+ // Bundle plotly.js
3535tasks . push ( function ( done ) {
3636 _bundle ( pathToPlotlyIndex , pathToPlotlyDist , {
37- standalone : 'Plotly' ,
3837 pathToMinBundle : pathToPlotlyDistMin
3938 } , function ( ) {
4039 prependFile . sync ( pathToPlotlyDist , header , common . throwOnError ) ;
@@ -44,10 +43,9 @@ tasks.push(function(done) {
4443 } ) ;
4544} ) ;
4645
47- // Browserify plotly.js-strict
46+ // Bundle plotly.js-strict
4847tasks . push ( function ( done ) {
4948 _bundle ( pathToPlotlyStrict , pathToPlotlyStrictDist , {
50- standalone : 'Plotly' ,
5149 pathToMinBundle : pathToPlotlyStrictDistMin
5250 } , function ( ) {
5351 prependFile . sync ( pathToPlotlyStrictDist , header . replace ( 'plotly.js' , 'plotly.js (strict)' ) , common . throwOnError ) ;
@@ -57,7 +55,7 @@ tasks.push(function(done) {
5755 } ) ;
5856} ) ;
5957
60- // Browserify the geo assets
58+ // Bundle the geo assets
6159tasks . push ( function ( done ) {
6260 _bundle ( pathToPlotlyGeoAssetsSrc , pathToPlotlyGeoAssetsDist , {
6361 standalone : 'PlotlyGeoAssets'
@@ -68,10 +66,9 @@ tasks.push(function(done) {
6866 } ) ;
6967} ) ;
7068
71- // Browserify plotly.js with meta
69+ // Bundle plotly.js with meta
7270tasks . push ( function ( done ) {
7371 _bundle ( pathToPlotlyIndex , pathToPlotlyDistWithMeta , {
74- standalone : 'Plotly' ,
7572 noCompress : true
7673 } , function ( ) {
7774 prependFile . sync ( pathToPlotlyDistWithMeta , header , common . throwOnError ) ;
0 commit comments