-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Using rollup to bundle a module that depends on @web-std/fetch
I'm hitting an error:
@web-std/blob (imported by src/platform.js, node_modules/@web-std/fetch/src/index.js, node_modules/@web-std/fetch/src/body.js)
[!] Error: 'default' is not exported by node_modules/web-streams-polyfill/dist/polyfill.mjs, imported by node_modules/@web-std/fetch/src/body.js
https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
node_modules/@web-std/fetch/src/body.js (12:7)
10:
11: import {Blob} from '@web-std/blob';
12: import WebStreams from 'web-streams-polyfill';
Looking at
Lines 21 to 26 in 68e89a8
import WebStreams from 'web-streams-polyfill'; | |
import {pipeline as pump, PassThrough} from 'stream'; | |
import * as Stream from 'stream'; | |
import {Blob} from '@web-std/blob'; | |
const {ReadableStream} = WebStreams; |
it looks like there is no default export from web-streams-polyfill
Metadata
Metadata
Assignees
Labels
No labels