Skip to content

_dirname hack for esnext #2

@alexspevak

Description

@alexspevak

when building repo for ESM Emscripten emits __dirname and require keywords which ESM does not support. We have applied hack for this:
Screenshot 2023-02-08 at 17 37 20

this should be fixed with new Emscripten 3.1.31.

I have tried applying https://www.npmjs.com/package/@rollup/plugin-babel but this just leads to further rabbit holes

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