Currently, in order to use Vento's auto trim plugin, ventojs should be an explicit dependency (so it's guaranteed to exist in node_modules). Got a few ideas on how to address this:
Expose the ventojs library as an export of this plugin so it can be reused in other modules without having to add it to package.json.
Add a property to the plugin configuration to enable/disable internal plugins like autoTrim.
Export any optional internal modules so they can be added in an eleventy.config.js file.
Currently, in order to use Vento's auto trim plugin,
ventojs
should be an explicit dependency (so it's guaranteed to exist innode_modules
). Got a few ideas on how to address this:ventojs
library as an export of this plugin so it can be reused in other modules without having to add it topackage.json
.eleventy.config.js
file.