File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,10 @@ var patternlab_engine = function (config) {
544
544
545
545
// Saves the pattern graph when all files have been compiled
546
546
PatternGraph . storeToFile ( patternlab ) ;
547
- PatternGraph . exportToDot ( patternlab , "dependencyGraph.dot" ) ;
547
+ if ( patternlab . config . exportToGraphViz ) {
548
+ PatternGraph . exportToDot ( patternlab , "dependencyGraph.dot" ) ;
549
+ plutils . log . info ( `Exported pattern graph to ${ path . join ( config . paths . public . root , "dependencyGraph.dot" ) } ` ) ;
550
+ }
548
551
549
552
//export patterns if necessary
550
553
pattern_exporter . export_patterns ( patternlab ) ;
Original file line number Diff line number Diff line change 61
61
"markupOnly" : " .markup-only"
62
62
},
63
63
"cleanOutputHtml" : true ,
64
- "export_graphviz " : false
64
+ "exportToGraphViz " : false
65
65
}
You can’t perform that action at this time.
0 commit comments