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');
8
8
*
9
9
* - plotly.js bundle in build/
10
10
* - 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)
12
12
*/
13
13
14
14
// Browserify plotly.js and plotly.min.js
15
15
_bundle ( constants . pathToPlotlyIndex , constants . pathToPlotlyBuild , {
16
16
standalone : 'Plotly' ,
17
17
debug : true ,
18
- pathToMinBundle : constants . pathToPlotlyDistMin
18
+ pathToMinBundle : constants . pathToPlotlyBuildMin
19
19
} ) ;
20
20
21
21
// Browserify the geo assets
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ module.exports = {
52
52
pathToPlotlyCore : path . join ( pathToSrc , 'core.js' ) ,
53
53
pathToPlotlyVersion : path . join ( pathToSrc , 'version.js' ) ,
54
54
pathToPlotlyBuild : path . join ( pathToBuild , 'plotly.js' ) ,
55
+ pathToPlotlyBuildMin : path . join ( pathToBuild , 'plotly.min.js' ) ,
55
56
pathToPlotlyDist : path . join ( pathToDist , 'plotly.js' ) ,
56
57
pathToPlotlyDistMin : path . join ( pathToDist , 'plotly.min.js' ) ,
57
58
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'];
307
307
if ( isBundleTest ) {
308
308
switch ( basename ( testFileGlob ) ) {
309
309
case 'minified_bundle' :
310
- func . defaultConfig . files . push ( constants . pathToPlotlyDistMin ) ;
310
+ func . defaultConfig . files . push ( constants . pathToPlotlyBuildMin ) ;
311
311
func . defaultConfig . preprocessors [ testFileGlob ] = [ 'browserify' ] ;
312
312
break ;
313
313
case 'plotschema' :
You can’t perform that action at this time.
0 commit comments