ogygia error
plugin_ factory_ not_ called
a function is listed in vite.config `plugins` — call the factory: `flags()`, not `flags`.
A plugin is listed by its factory's name without calling it. Add the parentheses: flags(), not flags.