Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip linting and type checking when building for production to save time #1458

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

axelboc
Copy link
Contributor

@axelboc axelboc commented Jul 25, 2023

Linting and type checking in the demo project can be run separately from the production build (and potentially in parallel) with pnpm lint:eslint and pnpm lint:tsc. This is already the case in the CI (we build the demo before running the E2E tests), so we were basically doubling up on the work.

@axelboc
Copy link
Contributor Author

axelboc commented Jul 25, 2023

This seems to shave off roughly 20s off the production build time.

@axelboc axelboc requested a review from loichuder July 25, 2023 13:40
@axelboc axelboc merged commit 43e790d into main Jul 25, 2023
8 checks passed
@axelboc axelboc deleted the faster-build branch July 25, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants