Autodetect ESM supports during asinit (#1685)
Autodetect ESM supports during asinit (#1685)

Co-authored-by: Daniel Wirtz <de7c435e1c51b70e550dc313eabb5b7e429420f2@dcode.io>
MaxGraey/AssemblyScript,MaxGraey/AssemblyScript,MaxGraey/AssemblyScript,MaxGraey/AssemblyScript,MaxGraey/AssemblyScript