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

perf: add entries to optimizeDeps #51

Merged
merged 1 commit into from Sep 4, 2022

Conversation

sapphi-red
Copy link
Contributor

Adding entries to optimizeDeps will prevent these happening and it will reduce start up time.

[vite] ✨ new dependencies optimized: preact/debug, preact/jsx-dev-runtime
[vite] ✨ optimized dependencies changed. reloading

This PR adds preact/jsx-dev-runtime, preact/debug, preact/devtools to optimizeDeps.

Copy link
Member

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks a bunch for the PR 👍

@marvinhagemeister marvinhagemeister merged commit e721b46 into preactjs:main Sep 4, 2022
@sapphi-red sapphi-red deleted the perf-add-optimize-deps branch September 5, 2022 06:05
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.

None yet

2 participants