✨ Feature plugin bundler system
Provide a new way for FenixCLI to use a bundler in it's build API. This will allow for more diversity and customizations, especially when using FenixCLI as an programmatic API.
Motivation and Context
Right now FeniXCLI is not meant for programmatic usage as there is no public API available. this is okay but rather than provide the bundler I believe it should be as a separate package(plugin) that can be installed by the base FeniXCLI tool. If not provided as a separate package, it's still a good idea to make it so a different bundler can be used with ease by other developers if they choose to.
How Has This Been Tested?
Added a test to check if it can take a bundler plugin as an option still keeping the old behaviour intact by using the built-in Rollup plugin. I've also updated all older tests to use the new build(options) format
Screenshots (if appropriate):
Types of changes
- New feature (non-breaking change which adds functionality)
- My change requires a change to the documentation.
- I have updated the documentation accordingly.
- I have added tests to cover my changes.