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

control ember build through vite #1744

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

patricklx
Copy link
Contributor

@patricklx patricklx commented Dec 22, 2023

and also force optimizer rebundle when lock file changed.
this also solves an issue where the watcher did not detect changes if embroider build --watch was called after starting vite

@patricklx patricklx force-pushed the vite-control-build branch 3 times, most recently from a85ef34 to eca61fa Compare December 28, 2023 11:25
Copy link
Member

@mansona mansona left a comment

Choose a reason for hiding this comment

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

We took a look at this during the Embroider meeting and there are a few things that we would like to see changed before this is mergable, but overall we're super excited about not needing two independent scripts running 🎉

Let me know if my comments don't make any sense, and we can open a thread in Discord to discuss 👍

tests/vite-app/vite.config.mjs Show resolved Hide resolved
packages/vite/src/build.ts Outdated Show resolved Hide resolved
tests/vite-app/vite.config.mjs Outdated Show resolved Hide resolved
@patricklx patricklx force-pushed the vite-control-build branch 2 times, most recently from 9ffe987 to 33a59f7 Compare February 6, 2024 22:25
Copy link
Member

@mansona mansona left a comment

Choose a reason for hiding this comment

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

I tested this locally and it works a treat! We even had the opportunity to have the Ember prebuild fail, and it handled that perfectly too 🎉

@mansona mansona added the enhancement New feature or request label Feb 8, 2024
@mansona mansona merged commit 43da932 into embroider-build:main Feb 8, 2024
95 checks passed
@github-actions github-actions bot mentioned this pull request Feb 8, 2024
@patricklx patricklx deleted the vite-control-build branch February 8, 2024 10:33
@github-actions github-actions bot mentioned this pull request Apr 4, 2024
@github-actions github-actions bot mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants