-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Support & Feature request : Add ngc compile single file api for vite/snowpack #18599
Comments
Hi @xiaoxiangmoe, Thanks for this feature request. We are following closely the development of ESBuild, Rollup, Webpack, snowpack and other build tools. That being said, we are not planning to move away from Webpack yet. At least not in the near future. In fact currently we actively working on adding support for the next major version of Webpack. Let’s continue tracking the single file emit angular/angular#37585. |
@alan-agius4 Can I raise some toolchain related questions in this issue?
|
For such questions I think stackoverflow/Gitter is a better place. Does ngc have rollup-plugin support?
How can I access ngc API in third-party tools?
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I have wrote a POC demo for using vite with Angular: https://github.com/xiaoxiangmoe/vite-ng-app-demo
In demo, it combines
ngc --watch
andvite serve
byconcurrently
.If we want to write a vite-plugin-angular. We may need ngc to compile single file.related issue: angular/angular#37585 , angular/angular#20422 (comment)
In the future, we may be able to provide functions such as hmr based on vite.
Moreover, we may be able to provide snowpack plugins based on the same API.
related issue: vitejs/vite#543
The text was updated successfully, but these errors were encountered: