Improve speed of webpack/storybook/wingsuit build
some initial thoughts
only building one theme at a time will increase speed - we culd update the make script to take an input
make build-storybook-greenwich --theme=website
The theme value would be used in the startup()
or webpackFinal()
methods in wingsuit.config.js
theres also a bunch of storybook plugins we can nuke I recon. I'm sure theres articles on speeding up storybook in general.
for the drupal build another option would be to build the css with one job and have wingsuit do just the twig + ui_components stuff
need to check if when you make a twig change is it also always rebuilding the css as well?
Edited by Han