File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,15 @@ var pathToBuild = path.join(pathToRoot, 'build/');
1212
1313var pathToPlotlyIndex = path . join ( pathToLib , 'index.js' ) ;
1414var mainIndex = fs . readFileSync ( pathToPlotlyIndex , 'utf-8' ) ;
15- var allTraces = fs . readdirSync ( path . join ( pathToSrc , 'traces' ) ) ;
15+ var allTraces = fs . readdirSync ( path . join ( pathToSrc , 'traces' ) )
16+ . filter ( function ( v ) {
17+ return v . charAt ( 0 ) !== v . charAt ( 0 ) . toUpperCase ( ) ;
18+ } ) ;
1619var allTransforms = fs . readdirSync ( path . join ( pathToSrc , 'transforms' ) )
20+ . filter ( function ( v ) {
21+ return v . charAt ( 0 ) !== v . charAt ( 0 ) . toUpperCase ( ) && v !== 'helpers.js' ;
22+ } )
1723 . map ( function ( e ) { return e . replace ( '.js' , '' ) ; } ) ;
18- allTransforms . splice ( allTransforms . indexOf ( 'helpers' ) , 1 ) ;
1924
2025var pathToTopojsonSrc ;
2126try {
You can’t perform that action at this time.
0 commit comments