-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Further contextualize help output and error when options and commands that are no longer supported in Vite-based projects are used #10843
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
Conversation
…ber help serve`)
…Classic projects (non Vite-based).
…te-based projects
|
It looks like |
| { name: 'watch', type: Boolean, default: false, aliases: ['w'] }, | ||
| { name: 'watcher', type: String }, | ||
| { name: 'suppress-sizes', type: Boolean, default: false }, | ||
| { name: 'output-path', type: 'Path', default: 'dist/', aliases: ['o'] }, |
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 restored --output-path since it appears to be used even in Vite-based projects (Many tests failed)
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.
yes it turns out it is during a vite build: https://github.com/embroider-build/embroider/blob/main/packages/vite/src/build.ts#L26-L28
Test will need to be preserved for classic if the experiment is cleaned up.
… destroy` in vite-based projects
0b4b675 to
77ca4d5
Compare
mansona
left a comment
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.
great work 🎉
No description provided.