Files
AFFiNE-Mirror/apps/electron/scripts/plugins/dev-plugins.mjs
T
Himself65 a0ee00a4b2 fix: replace noop function (#2744)
(cherry picked from commit af6f431c15)
2023-06-20 14:44:27 +08:00

12 lines
280 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', 'puppeteer', 'foxact'],
});
await plugin.watch();