You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[wasm] Drop support for CommonJS and WasmEnableES6 #63337
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
pavelsavara commentedon Jan 4, 2022
cc @lewing