-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(vite): add generatePackageJson option to vite executor (#16042) #16045
feat(vite): add generatePackageJson option to vite executor (#16042) #16045
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e1ce1db
to
ae0e5a0
Compare
* moves getExtraDependencies helper from esbuild package to js package
ae0e5a0
to
8dcbf27
Compare
@jensbodal Thanks for the PR. I think the idea makes sense ( We might have some time to look into this after Nx 16 release, which is in a few weeks. The workaround for now is to maintain the dependencies manually. Let us know if you have any concerns. |
I just want to call out that that's what the esbuild executor does for two of the options. I had wanted to just put these options in a nested object that were specific to esbuild executorThe above are used for both
If preferred I could just remove the allowed overrides that I provided and just set them statically instead of being defaults
This would just leave setting I'd like to work with you to make whatever changes in order to get this in since it's something I'd very much like to use. |
I can remove the
|
I think I have a better idea now than continuously adding this feature to different executors: #16042 (comment) |
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
No ability to generate package.json when building with vite executor
Expected Behavior
Allow ability to generate package.json using vite executor
Related Issue(s)
Example