Closed tmcw closed 2 years ago
I'm trying to get anything working in Firefox, and it really seems like the legacy method is broken there too https://codesandbox.io/s/infallible-shadow-6p01z2?file=/src/index.js
You should import the module. The CJS is meant for bundlers.
It looks like it tried to import the .cjs. For now fixed via passing it the full URL to the .mjs: https://unpkg.com/browser-fs-access@0.27.0/dist/index.mjs.
Fixed properly by re-introducing the "browser"
field in package.json
. Please update to v0.28.0
.
Is my Firefox install an outlier for not being able to download files from the Glitch demo? It's not working on Chrome, but broken in Firefox.
When you now open in the browser or import
in JavaScript from the URL https://unpkg.com/browser-fs-access, you’re properly redirected to https://unpkg.com/browser-fs-access@0.28.0/dist/index.mjs by the unpkg CDN, which wasn’t the case before.
Was attempting to debug problems in Firefox, and unfortunately
the demo is now broken in Firefox.The demo is broken across all browsers.