项目文件夹

文件
2026-07-13 12:38:34 +08:00

16 行
536 B
TypeScript

import { defineConfig } from 'tsdown';
import { baseConfig, baseNeverBundle } from '../../../tsdown.config.base.ts';
export default defineConfig({
...baseConfig,
entry: ['src/index.ts', 'src/effect.ts'],
tsconfig: 'tsconfig.src.json',
deps: {
...baseConfig.deps,
// bun:ffi is a Bun built-in. Keep it external so Node never tries to
// load the FFI backend chunk at startup; stores/macos-security.ts
// guards `isBun` before reaching the dynamic import.
neverBundle: [...baseNeverBundle, /^bun:/],
},
});