website
website copied to clipboard
Document new pattern export options
see https://github.com/pattern-lab/patternlab-node/pull/1089
@bmuenzenmeyer can you provide some additional context here? I can take care of the website.
the thought was to add to https://patternlab.io/docs/advanced-exporting-patterns.html with the new options available on pattern-lab.config in the above linked PR:
-
patternExportAll- default:
false - description: if
true, overridespatternExportPatternPartialsand instead exports all patterns
- default:
-
patternExportPreserveDirectoryStructure- default:
true - description: if
true, preserves the top-level pattern type structure (atoms/,molecules/,organisms/) during export. iffalse, all patterns are flatly exported to thepatternExportDirectory
- default:
-
patternExportRaw- default:
false - description: if
true, exports the pattern's template file instead of the renderedhtml
- default:
this is available with pattern lab https://github.com/pattern-lab/patternlab-node/releases/tag/v5.1.0