-
Notifications
You must be signed in to change notification settings - Fork 137
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
Implement the optimizeDeps() helper #1623
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to add a re-export for this so that it can be consumed from a test app like this: https://github.com/embroider-build/embroider/blob/main/packages/vite/index.mjs
On that note I think you should use this function in the actual test app and make sure that it works as expected https://github.com/embroider-build/embroider/blob/main/tests/vite-app/vite.config.mts#L26-L28
@mansona Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've manually tested the vite app and I'm happy that it's working 👍
...that can be used in
vite.config.js
.It would prevent users from accidentally overriding the important keys (for now it's just
exclude
).Comes with the very basic Jest setup, copied from a sibling folder.
Fixes #1621.