open-design/packages/plugin-runtime/esbuild.config.mjs
pftom 4c7cd5d9f2 feat(plugins): introduce plugin system with installation and management capabilities
- Added support for a new plugin system, allowing users to install, uninstall, and manage plugins through the daemon.
- Implemented API endpoints for listing installed plugins, retrieving plugin details, and applying plugins with input validation.
- Introduced a plugin doctor feature to validate plugin manifests and check for issues before application.
- Established a plugin persistence layer with SQLite migrations for managing installed plugins and their metadata.
- Enhanced the CLI with commands for plugin operations, improving user interaction with the plugin ecosystem.
2026-05-09 18:24:44 +08:00

13 lines
259 B
JavaScript

import { build } from 'esbuild';
await build({
bundle: true,
entryPoints: ['./src/index.ts'],
format: 'esm',
outbase: './src',
outdir: './dist',
outExtension: { '.js': '.mjs' },
packages: 'external',
platform: 'node',
target: 'node24',
});