-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Note: Coming from parcel-bundler/lightningcss#219
I haven't been able to get this module working for Deno
- The source uses typescript syntax (
import type) with a.jsextension. Deno can't read it properly - The NPM package uses CommonJS (
require), but Deno uses ESM (import) - CDNs
- unpkg.com pulls from NPM, so we get the same issue.
- esm.sh & skypack.dev both transform the CommonJS to ESM. Unfortunately, they don't serve WASM files with the right content-type, so Deno can't process it normally. The way Deno does process it, it throws an error during compilation. Something about a mismatched "magic word".
Metadata
Metadata
Assignees
Labels
No labels