-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Environment
Bun v.1.0.26
Reproduction
Steps to reproduce:
- Clone repository
- Install Bun version 1.0.26 (https://bun.sh/)
- Run bun install to install dependencies
- Run build command
$ bun build index.ts --outdir=dist --target=nodeDescribe the bug
When build the project using Bun, a "No matching export" error is thrown.
Additional context
Issue discovered when using unjs/giget
Logs
11 | import { fetch } from 'node-fetch-native/proxy';
^
error: No matching export in "node_modules/node-fetch-native/dist/proxy.cjs" for import "fetch"
at /Users/thomaskjaergaard/projects/internal/giget-bun-reproduction/node_modules/giget/dist/index.mjs:11:10Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels