Closed PhilippMolitor closed 3 years ago
Your issue is with create-react-app
not bundling correctly, please look for or file an issue there. You can verify that Node.js can import the module just fine…
In test.mjs
:
import { ReactNativeFile } from 'extract-files';
// Or:
// import ReactNativeFile from 'extract-files/public/ReactNativeFile.js';
console.log(ReactNativeFile);
Then run node test.mjs
.
It's on CRA to ensure perfectly valid Node.js package bundle correctly.
@urql/echange-multipart-fetch
has upgraded theextract-files
package from version^8.1.0
to^11.0.0
, which broke an import/export:Version
0.1.12
of@urql/echange-multipart-fetch
works fine,0.1.13
breaks my build process (create-react-app
).See: https://github.com/FormidableLabs/urql/pull/1795