feat: replace electron to puppeteer (#2700)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Qi
2023-06-08 17:51:45 +08:00
committed by GitHub
parent de8af5f114
commit fda89b05e7
15 changed files with 134 additions and 982 deletions

View File

@@ -5,5 +5,5 @@ import { definePluginServerConfig } from './utils.mjs';
await build({
...definePluginServerConfig('bookmark-block'),
external: ['cheerio', 'electron'],
external: ['cheerio', 'electron', 'puppeteer'],
});

View File

@@ -5,7 +5,7 @@ import { definePluginServerConfig } from './utils.mjs';
const plugin = await context({
...definePluginServerConfig('bookmark-block'),
external: ['cheerio', 'electron'],
external: ['cheerio', 'electron', 'puppeteer'],
});
await plugin.watch();