microsoft / microsoft/onnxruntime
[web] ES6 modules
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.