plotly.js
Version:
The open source javascript graphing library that powers plotly
25 lines (21 loc) • 713 B
JavaScript
var constants = require('./util/constants');
var _bundle = require('./util/browserify_wrapper');
/*
* Trimmed down version of ./bundle.js for CI testing
*
* Outputs:
*
* - plotly.js bundle in build/
* - plotly-geo-assets.js bundle in dist/ (in accordance with test/image/index.html)
* - plotly.min.js bundle in dist/ (for requirejs test)
*/
// Browserify plotly.js and plotly.min.js
_bundle(constants.pathToPlotlyIndex, constants.pathToPlotlyBuild, {
standalone: 'Plotly',
debug: true,
pathToMinBundle: constants.pathToPlotlyDistMin
});
// Browserify the geo assets
_bundle(constants.pathToPlotlyGeoAssetsSrc, constants.pathToPlotlyGeoAssetsDist, {
standalone: 'PlotlyGeoAssets'
});