A very basic report on the currently used bundler.
It is useful to unify some configurations.
{
bundler: {
name: string;
outDir: string;
rawConfig?: any;
};
}This hook is called when the bundler report is generated.
It is useful to get the current bundler's configuration for instance.
{
name: 'my-plugin',
bundlerReport(report: BundlerReport) {
// Do something with the data
}
}This hook is called when the build root directory is computed.
{
name: 'my-plugin',
buildRoot(buildRoot: string) {
// Do something with the data
}
}