Skip to content

Make client WASM npm package compatible with NodeJS #2091

Closed
@jpraynaud

Description

@jpraynaud

Why

We want to create a version of the client WASM npm package compatible with NodeJS (as requested in #2082).

We have already tried to make the package compatible with NodeJS with the bundler option of webpack but it has proven unsuccessful.

What

Adapt the npm package of the client WASM to be compatible with NodeJS.

How

  • Investigate how to combine both browser and NodeJS compatible WASMs in the same npm package
  • Adapt the Mithril client WASM build commands
  • Adapt the Mithril client WASM tests
  • Adapt the CI workflows:
    • CI
    • pre-release
    • release
  • Handle breaking change
  • Update documentation (with compatibility tables) and examples
  • Add a specific example for NodeJS

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions