Don't swallow fetch TypeError as CORS in non-browser environments (#1595)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com> Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
This commit is contained in:
parent
f9fda807d3
commit
13a0d345c0
1 changed files with 161 additions and 20 deletions
|
|
@ -3,7 +3,7 @@ import { defineConfig } from 'tsdown';
|
|||
export default defineConfig({
|
||||
// 1. Entry Points
|
||||
// Directly matches package.json include/exclude globs
|
||||
entry: ['src/index.ts', 'src/shimsNode.ts', 'src/shimsWorkerd.ts'],
|
||||
entry: ['src/index.ts', 'src/shimsNode.ts', 'src/shimsWorkerd.ts', 'src/shimsBrowser.ts'],
|
||||
|
||||
// 2. Output Configuration
|
||||
format: ['esm'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue