onnxruntime/js/web/test/e2e/exports
Yulong Wang bf023ab3d5
[js/web] allow import .mjs/.wasm file (#23487)
### Description

Allow importing the `.mjs` and `.wasm` files.

when using Vite, this enables web app to consume ORT-web for simplify
the setup:
   ```js
   import * as ort from 'onnxruntime-web';

   import wasmFileUrl from 'onnxruntime-web/.wasm?url';
   ort.env.wasm.wasmPaths = { wasm: wasmFileUrl };
2025-01-28 16:24:41 -08:00
..
testcases [js/web] allow import .mjs/.wasm file (#23487) 2025-01-28 16:24:41 -08:00
main.js
README.md
test.js
utils.js

This folder includes test data, scripts and source code that used to test the export functionality of onnxruntime-web package.