@@ -18,25 +18,25 @@ var DEV = (arg === 'dev') || (arg === '--dev');
1818
1919
2020// Check if style and font build files are there
21- var doesFileExist = common . doesFileExist ;
22- if ( ! doesFileExist ( constants . pathToCSSBuild ) || ! doesFileExist ( constants . pathToFontSVG ) ) {
23- throw new Error ( [
24- 'build/ is missing one or more files' ,
25- 'Please run `npm run preprocess` first'
26- ] . join ( '\n' ) ) ;
27- }
21+ // var doesFileExist = common.doesFileExist;
22+ // if(!doesFileExist(constants.pathToCSSBuild) || !doesFileExist(constants.pathToFontSVG)) {
23+ // throw new Error([
24+ // 'build/ is missing one or more files',
25+ // 'Please run `npm run preprocess` first'
26+ // ].join('\n'));
27+ // }
2828
29- // Browserify plotly.js
30- _bundle ( constants . pathToPlotlyIndex , constants . pathToPlotlyDist , {
31- standalone : 'Plotly' ,
32- debug : DEV ,
33- pathToMinBundle : constants . pathToPlotlyDistMin
34- } ) ;
29+ // // Browserify plotly.js
30+ // _bundle(constants.pathToPlotlyIndex, constants.pathToPlotlyDist, {
31+ // standalone: 'Plotly',
32+ // debug: DEV,
33+ // pathToMinBundle: constants.pathToPlotlyDistMin
34+ // });
3535
36- // Browserify the geo assets
37- _bundle ( constants . pathToPlotlyGeoAssetsSrc , constants . pathToPlotlyGeoAssetsDist , {
38- standalone : 'PlotlyGeoAssets'
39- } ) ;
36+ // // Browserify the geo assets
37+ // _bundle(constants.pathToPlotlyGeoAssetsSrc, constants.pathToPlotlyGeoAssetsDist, {
38+ // standalone: 'PlotlyGeoAssets'
39+ // });
4040
4141// Browserify the plotly.js with meta
4242_bundle ( constants . pathToPlotlyIndex , constants . pathToPlotlyDistWithMeta , {
@@ -45,11 +45,11 @@ _bundle(constants.pathToPlotlyIndex, constants.pathToPlotlyDistWithMeta, {
4545 then : makeSchema ( constants . pathToPlotlyDistWithMeta , constants . pathToSchema )
4646} ) ;
4747
48- // Browserify the plotly.js partial bundles
49- constants . partialBundlePaths . forEach ( function ( pathObj ) {
50- _bundle ( pathObj . index , pathObj . dist , {
51- standalone : 'Plotly' ,
52- debug : DEV ,
53- pathToMinBundle : pathObj . distMin
54- } ) ;
55- } ) ;
48+ // // Browserify the plotly.js partial bundles
49+ // constants.partialBundlePaths.forEach(function(pathObj) {
50+ // _bundle(pathObj.index, pathObj.dist, {
51+ // standalone: 'Plotly',
52+ // debug: DEV,
53+ // pathToMinBundle: pathObj.distMin
54+ // });
55+ // });
0 commit comments