Skip to content

[wasm] Drop support for CommonJS and WasmEnableES6 #63337

Closed

Description

@pavelsavara

During modularization of dotnet.js we adopted CommonJS format as transition step to ES6 modules.
Build flag WasmEnableES6 enables us to produce either CommonJS or ES6 module.

Are there future use-cases for CommonJS module format ?

If not we could drop the WasmEnableES6 flag and simplify build and test landscape.
We should also drop CommonJS samples.

Note we have disableDotnet6Compatibility: false switch which exports the MONO and BINDING namespaces into global namespace, in same way how Net6.0 did. This would continue working with ES6 too.

Activity

  1. added this to the 7.0.0 milestone on Jan 4, 2022
  2. self-assigned this
    on Jan 4, 2022
  3. ghost added
    untriaged
    on Jan 4, 2022
  4. removed
    untriaged
    on Jan 4, 2022
  5. pavelsavara commented on Jan 4, 2022

    @pavelsavara
    MemberAuthor
  6. ghost added
    in-pr
    on Jul 26, 2022
  7. ghost removed
    in-pr
    on Jul 28, 2022
  8. ghost locked as resolved and limited conversation to collaborators on Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions