mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-07 01:53:45 +00:00
21 lines
404 B
JavaScript
Executable File
21 lines
404 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
import { build } from 'esbuild';
|
|
|
|
import { definePluginServerConfig } from './utils.mjs';
|
|
|
|
await build({
|
|
...definePluginServerConfig('bookmark-block'),
|
|
external: [
|
|
// server.ts
|
|
'link-preview-js',
|
|
// ui.ts
|
|
'@toeverything/plugin-infra',
|
|
'@affine/component',
|
|
'@blocksuite/store',
|
|
'@blocksuite/blocks',
|
|
'react',
|
|
'react-dom',
|
|
'foxact',
|
|
],
|
|
});
|