Skip to content

v0.1.7 - pattern lab - node

Compare
Choose a tag to compare
@bmuenzenmeyer bmuenzenmeyer released this 09 Jan 05:29
· 4007 commits to master since this release

PL-node-v0.1.7

  • ADD: pattern export
  • CHG: updated devDependencies
  • FIX: fixed a type in the README and config
  • THX: thanks @seanhussey for the pull request!

The most exciting thing added here is pattern export. Here's the excerpt from the README:

Pattern Export

config.json also has two properties that work together to export completed patterns for use in a production environment. Provide an array of keys and an output directory. Pattern Lab doesn't ship with any pattern export keys, but the default directory is "./pattern_exports/" created inside the install directory.

"patternExportKeys": ["molecules-primary-nav", "organisms-header", "organisms-header"],
"patternExportDirectory": "./pattern_exports/"

Coupled with exported css (much easier to extract with existing tools like grunt-contrib-copy), pattern export can help to maintain the relevancy of the design system by directly placing partials in a directory of your choosing.