How to use patternlab-node - 1 common examples

To help you get started, we’ve selected a few patternlab-node examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Comcast / patternlab-edition-node-webpack / webpack.config.js View on Github external
afterEmit: function(compilation) {
              const supportedTemplateExtensions = patternEngines.getSupportedFileExtensions();
              const templateFilePaths = supportedTemplateExtensions.map(
                function(dotExtension) {
                  return `${plConfig.paths.source.patterns}**/*${dotExtension}`;
                }
              );

              // additional watch files
              const watchFiles = [
                `${plConfig.paths.source.patterns}**/*.(json|md|yaml|yml)`,
                `${plConfig.paths.source.data}**/*.(json|md|yaml|yml)`,
                `${plConfig.paths.source.fonts}**/*`,
                `${plConfig.paths.source.images}**/*`,
                `${plConfig.paths.source.meta}**/*`,
                `${plConfig.paths.source.annotations}**/*`
              ];

patternlab-node

Pattern Lab is a collection of tools to help you create atomic design systems. This is the node command line interface (CLI).

MIT
Latest version published 7 years ago

Package Health Score

56 / 100
Full package analysis