-
-
Notifications
You must be signed in to change notification settings - Fork 45
Description
First of all, amazing job! It is really inspiring to see all the plugins that you are working on and how well they perform!
I am building my own Vitepress Theme, and with that I also have my own vite.ts which I export so the user can register the Vite Plugin.
In this vite plugin, I would like to install the GitChangelogOptions so users don't have to do that themself. Therefore I want to give them an option to pass the options to the GitChangelogOptions.
Something like this:
export interface MyVitepressThemeVitePluginOptions {
/**
* Whether to enable the GitChangelog plugin.
* An options object can be passed to configure the plugin.
*/
gitChangelog?: false | GitChangelogOptions
}The problem is that GitChangelogOptions is in vite/types.ts and it is not being exported. Could we change that somehow? Not sure if you want to add another entry point in unbuild.config.ts for vite/types or add an export in types/index.ts.
I can create the PR if we decide to move forwards :)