b-fuze / deno-dom

Browser DOM & HTML parser in Deno
https://jsr.io/@b-fuze/deno-dom
MIT License
423 stars 47 forks source link

Compile a backend for `darwin-aarch64` #144

Open Vehmloewff opened 1 year ago

Vehmloewff commented 1 year ago

Not super urgent because us M1 Mac people can just run the wasm version, but it would be quite nice to have...

alexgleason commented 2 months ago

How do you work around this on a team where people are using different computers? Do I need to try-catch the deno-dom import?

Vehmloewff commented 2 months ago

When possible, I've done dynamic imports inside a condition to check if the platform is M1. I've done other hacks before so that the imports are part of the module graph, but dynamic imports are very well-supported now and I don't think that these hacks are still necessary.