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

[test] Reduce compile time of test:karma in watchmode drastically #24967

Merged
merged 1 commit into from Feb 16, 2021

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Feb 16, 2021

When running yarn test:karma locally compilation on rebuild should now be dramatically faster in the best case scenario (minimal number of files changed).

The initial build is still "slow". Though I did some quick testing locally and re-building went from 20s to <1s when changing a test file.

Following the recommendation in https://webpack.js.org/configuration/devtool/#devtool for eval-source-map:

Recommended choice for development builds with high quality SourceMaps.

@mui-pr-bot
Copy link

mui-pr-bot commented Feb 16, 2021

No bundle size changes

Generated by 🚫 dangerJS against f57f0bf

@eps1lon eps1lon merged commit 6fce6a6 into mui:next Feb 16, 2021
@eps1lon eps1lon deleted the test/faster-local-test-karma branch February 16, 2021 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants