Skip to content

JSR and Client Side Rendering with gfm #126

Open
@mcgear

Description

@mcgear

#119

We use esbuild to compile a control that is delivered to the client. This was previously working, we just upgraded to JSR and now with the latest version of GFM (0.8.2), we are getting error:

Error: Dynamic require of "path" is not supported
    at eacIslandsClient.js?revision=1723577690368:12:9
    at ../../../../../../AppData/Local/deno/deno_esbuild/[email protected]/node_modules/postcss/lib/map-generator.js (map-generator.js:4:43)
    at __require2 (eacIslandsClient.js?revision=1723577690368:18:50)
    at ../../../../../../AppData/Local/deno/deno_esbuild/[email protected]/node_modules/postcss/lib/lazy-result.js (lazy-result.js:4:20)
    at __require2 (eacIslandsClient.js?revision=1723577690368:18:50)
    at ../../../../../../AppData/Local/deno/deno_esbuild/[email protected]/node_modules/postcss/lib/postcss.js (postcss.js:5:18)
    at __require2 (eacIslandsClient.js?revision=1723577690368:18:50)
    at ../../../../../../AppData/Local/deno/deno_esbuild/[email protected]/node_modules/sanitize-html/index.js (index.js:6:33)
    at __require2 (eacIslandsClient.js?revision=1723577690368:18:50)
    at https://jsr.io/@deno/gfm/0.7.0/mod.ts (mod.ts:8:26)

We are in the process of checking older version to see if they work, 0.7.0 does not seem to work either.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions