mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-10 17:53:13 +08:00
fix(feishu): stabilize post-merge card workflows
This commit is contained in:
parent
9d1dc71794
commit
bd9c58cf9e
19 changed files with 3372 additions and 456 deletions
|
|
@ -4,6 +4,8 @@ import { fileURLToPath } from 'node:url';
|
|||
|
||||
import { build } from 'esbuild';
|
||||
|
||||
import { larkSdkHandshakePatch } from './lark-sdk-handshake-patch.mjs';
|
||||
|
||||
const sourceDirectory = dirname(fileURLToPath(import.meta.url));
|
||||
const packageRoot = resolve(sourceDirectory, '../..');
|
||||
const outputPath = resolve(packageRoot, 'lib/index.js');
|
||||
|
|
@ -25,6 +27,7 @@ await build({
|
|||
target: ['node22'],
|
||||
mainFields: ['module', 'main'],
|
||||
external,
|
||||
plugins: [larkSdkHandshakePatch],
|
||||
outfile: outputPath,
|
||||
banner: {
|
||||
js: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue