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/');
12
12
13
13
var pathToPlotlyIndex = path . join ( pathToLib , 'index.js' ) ;
14
14
var 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
+ } ) ;
16
19
var allTransforms = fs . readdirSync ( path . join ( pathToSrc , 'transforms' ) )
20
+ . filter ( function ( v ) {
21
+ return v . charAt ( 0 ) !== v . charAt ( 0 ) . toUpperCase ( ) && v !== 'helpers.js' ;
22
+ } )
17
23
. map ( function ( e ) { return e . replace ( '.js' , '' ) ; } ) ;
18
- allTransforms . splice ( allTransforms . indexOf ( 'helpers' ) , 1 ) ;
19
24
20
25
var pathToTopojsonSrc ;
21
26
try {
You can’t perform that action at this time.
0 commit comments