microsoft / microsoft/onnxruntime

[web] ES6 modules

Open
#10,913 14 comments 1 reaction 1 assignee View on GitHub

@fs-eire is already working on this.

Since Mar 28, 2022.

platform:web
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 8h
Merged PRs (30d)
179

Description

Is your feature request related to a problem? Please describe.
I'm trying to get ONNX Runtime Web working in Deno. Deno maintains very close compatibility with the browser, but there's no concept of HTML/DOM since it's a server-side language, so the usual script tag import method is not possible.

System information

  • ONNX Runtime version (you are using): 1.10.0

Describe the solution you'd like
It would be great if the package had an ES6 modules build available so that it could be imported like this:

import ort from "https://cdn.jsdelivr.net/npm/onnxruntime-web@1.10.0/dist/ort.es6.js"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.