revenge-bundle-next/lib/plugins/src/init.ts
PalmDevs 8eea0d12ea
feat: plugin dependencies and dependent dialogs, refactor plugins library and settings plugin
- Refactored the plugins library
- Refactored the settings plugin
2025-07-25 21:19:59 +07:00

7 lines
250 B
TypeScript

import { initPlugin, isPluginEnabled } from './_internal'
import { computePendingNodes, pListOrdered } from './_internal/dependency-graph'
computePendingNodes()
for (const plugin of pListOrdered)
if (isPluginEnabled(plugin)) initPlugin(plugin)