Open btrem opened 6 months ago
Per the recently merged docs here: https://www.11ty.dev/docs/plugins/#creating-a-plugin, I believe the options
are passed in as a second argument—is that what you mean?
[meta: I replied to this logged into a sibling's GH account; I apologize for my carelessness]
The options are passed in to the plugin as that link describes, and are available in the main plugin file, e.g. myPlugin/index.js
. But how do I access the options object in other files? In my case, specifically, in other files that are part of the plugin, e.g., myPlugin/myFilter.js
?
I have the same problem. Did you solve it?
Discussed in https://github.com/11ty/eleventy/discussions/3193