Skip to content

Feature plugin bundler system

ltngames requested to merge feature-plugin-system into master

Description

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.

Related Issue

Closes #42 (closed) #38 (closed)

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)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
Edited by ltngames

Merge request reports