Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Conversation

@mrosvik
Copy link
Member

@mrosvik mrosvik commented Dec 9, 2020

Our patternlab has grown large and is struggling to run "npm start". It crashes with error "javascript heap out of memory". With "gulp --max_old_space_size=9000" it completes, but takes almost an hour(!) We decided to move templates and pages into an archived folder outside of patterns, so it is possible to update components, CSS and javascript, which currently is the most important task. To work with templates and pages, copy the files you need from archive into patterns. Some links are removed, but since prototyping is happening mostly in Figma now, it should not be a big problem. We might considering moving templates and pages back into patterns, if we can make the build work quick again some way.

This pull request includes 2 commits:

  • Moved all pages and templates out of patterns into a folder called templatesAndPagesArchive. "npm start" now runs in 10-30 sec.
  • Removed broken links to archived pages.

…platesAndPagesArchive. npm start now runs in 8-20sec. This is a temporary fix until we have a new patternlab version innstalled without the inheritance plugin. To work with templates and pages, copy the files you need from archive into patterns.
…f all templates and pages are moved back into patterns
@magnusnn magnusnn merged commit 49ced01 into master Jan 4, 2021
ma31cm pushed a commit that referenced this pull request Jan 11, 2021
* moved all pages and templates out of patterns into archive folder templatesAndPagesArchive. npm start now runs in 8-20sec. This is a temporary fix until we have a new patternlab version innstalled without the inheritance plugin. To work with templates and pages, copy the files you need from archive into patterns.

* removed brsys from patternlab

* removed broken links to archived pages. This commit can be reverted if all templates and pages are moved back into patterns

* Revert "removed brsys from patternlab"

This reverts commit 251771e.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants