Files
AFFiNE-Mirror/scripts/esbuild/dev-plugins.mjs
T
Himself65 7e989ae8cb refactor: use esbuild instead of vite (#2672)
(cherry picked from commit acda594cba)
2023-06-20 14:44:27 +08:00

12 lines
257 B
JavaScript
Executable File

#!/usr/bin/env node
import { context } from 'esbuild';
import { definePluginServerConfig } from './utils.mjs';
const plugin = await context({
...definePluginServerConfig('bookmark-block'),
external: ['cheerio', 'electron'],
});
await plugin.watch();