Tailwind is massive by design (think of it like a box of LEGOs, but for CSS classes). This PR simply specifies the pattern to purge CSS from.
I'm sure there is more I could do here later, but for now, this seems good.
Former dev dependencies
Normally, cypress and start-server-and-test would be installed as a devDependency. However, this breaks the GitHub Action for whatever reason; GH Actions appear to ignore dev dependencies.
It seems the only way to work around this is to install the dependency as a normal one instead of a dev one.
Appear that the Cypress GitHub Action has some issues with caching and dependency installation, most likely a result of how the Gatsby site has to be tested. Going to try CircleCI instead.
Description
Tailwind is massive by design (think of it like a box of LEGOs, but for CSS classes). This PR simply specifies the pattern to purge CSS from.
I'm sure there is more I could do here later, but for now, this seems good.
Former dev dependencies
Normally,
cypress
andstart-server-and-test
would be installed as adevDependency
. However, this breaks the GitHub Action for whatever reason; GH Actions appear to ignore dev dependencies.It seems the only way to work around this is to install the dependency as a normal one instead of a dev one.