All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.tasks.cibundle.js Maven / Gradle / Ivy

The newest version!
var constants = require('./util/constants');
var _bundle = require('./util/bundle_wrapper');

/*
 * Trimmed down version of ./bundle.js for CI testing
 *
 * Outputs:
 *
 *  - plotly.js bundle in build/
 *  - plotly-geo-assets.js bundle in build/ (in accordance with test/image/index.html)
 *  - plotly.min.js bundle in build/ (for minified_bundle test)
 */

// Bundle plotly.js and plotly.min.js
_bundle(constants.pathToPlotlyIndex, constants.pathToPlotlyBuild, {
    noCompress: true,
    pathToMinBundle: constants.pathToPlotlyBuildMin
}, function() {
    // Bundle the geo assets
    _bundle(constants.pathToPlotlyGeoAssetsSrc, constants.pathToPlotlyGeoAssetsDist, {
        standalone: 'PlotlyGeoAssets'
    });
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy