File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ var _bundle = require('./util/browserify_wrapper');
88 *
99 * - plotly.js bundle in build/
1010 * - plotly-geo-assets.js bundle in dist/ (in accordance with test/image/index.html)
11- * - plotly.min.js bundle in dist / (for requirejs test)
11+ * - plotly.min.js bundle in build / (for minified_bundle test)
1212 */
1313
1414// Browserify plotly.js and plotly.min.js
1515_bundle ( constants . pathToPlotlyIndex , constants . pathToPlotlyBuild , {
1616 standalone : 'Plotly' ,
1717 debug : true ,
18- pathToMinBundle : constants . pathToPlotlyDistMin
18+ pathToMinBundle : constants . pathToPlotlyBuildMin
1919} ) ;
2020
2121// Browserify the geo assets
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ module.exports = {
5252 pathToPlotlyCore : path . join ( pathToSrc , 'core.js' ) ,
5353 pathToPlotlyVersion : path . join ( pathToSrc , 'version.js' ) ,
5454 pathToPlotlyBuild : path . join ( pathToBuild , 'plotly.js' ) ,
55+ pathToPlotlyBuildMin : path . join ( pathToBuild , 'plotly.min.js' ) ,
5556 pathToPlotlyDist : path . join ( pathToDist , 'plotly.js' ) ,
5657 pathToPlotlyDistMin : path . join ( pathToDist , 'plotly.min.js' ) ,
5758 pathToPlotlyDistWithMeta : path . join ( pathToDist , 'plotly-with-meta.js' ) ,
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ func.defaultConfig.preprocessors[pathToCustomMatchers] = ['browserify'];
307307if ( isBundleTest ) {
308308 switch ( basename ( testFileGlob ) ) {
309309 case 'minified_bundle' :
310- func . defaultConfig . files . push ( constants . pathToPlotlyDistMin ) ;
310+ func . defaultConfig . files . push ( constants . pathToPlotlyBuildMin ) ;
311311 func . defaultConfig . preprocessors [ testFileGlob ] = [ 'browserify' ] ;
312312 break ;
313313 case 'plotschema' :
You can’t perform that action at this time.
0 commit comments