The makeRequireTransform function now accepts an optional
attribute "requireOptions" which is an object with an
optional attribute "aliases" which can be a string or an
array of strings. These strings are also! taken for the
require transformation alongside "require".
The implemented functionality is also tested.
I also have an idea on how to modify aliasify elegantly without any breaking changes on the api. I will submit the other PR tomorrow.
The makeRequireTransform function now accepts an optional attribute "requireOptions" which is an object with an optional attribute "aliases" which can be a string or an array of strings. These strings are also! taken for the require transformation alongside "require".
The implemented functionality is also tested.
I also have an idea on how to modify aliasify elegantly without any breaking changes on the api. I will submit the other PR tomorrow.