cli
cli copied to clipboard
discuss the future of Nx plugin
There seems to be a reason why Nx team is not moving towards adding ESM support for plugins as is, the reason is recently announced switch of core Nx tech stack to Rust, they will be introducing a new API for task execution which (I currently assume) will offer much more flexibility to do plugins.
Some additional info:
- The reason to not switch to ESM is the effort it takes. The bet it on latest node features and a future execution of TS directly.
- The new APIs are add ons for existing tasks.
- Only the core will be rewritten in rust. the rest remains in TS for the community
Yes, my formulation was little bit rough, what I meant is "executors will not be ESM" because "there will be no more explicit executors as we know them". What I hope for is that new API will support ESM plugins as that is highly requested feature
Close this as we need plugin for --cache options automation. see #1059