Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit e41b595

Browse files
committed
generate annotations on generate
1 parent f557188 commit e41b595

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/lib/PatternLab/Generator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ public function generate($enableCSS = false, $moveStatic = true, $noCacheBuster
8181
// render out the patterns and move them to public/patterns
8282
$this->generatePatterns();
8383

84+
// render the annotations as a js file
85+
$this->generateAnnotations();
8486

8587
// move all of the files unless pattern only is set
8688
if ($moveStatic) {

0 commit comments

Comments
 (0)