You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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';
it looks like there is no default export from web-streams-polyfill
The text was updated successfully, but these errors were encountered:
olizilla
changed the title
Rollup bundle error trying to import default from 'web-streams-polyfill'
Rollup bundle error trying to import default from web-streams-polyfillJun 25, 2021
Using rollup to bundle a module that depends on
@web-std/fetch
I'm hitting an error:Looking at
io/fetch/src/index.js
Lines 21 to 26 in 68e89a8
and https://github.com/MattiasBuelens/web-streams-polyfill/blob/956de3d56a1c4565563f85f9180d4bac39571b74/src/polyfill.ts#L19-L38
it looks like there is no default export from
web-streams-polyfill
The text was updated successfully, but these errors were encountered: