mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
fix npm test for webgl without wasm artifacts (#7742)
This commit is contained in:
parent
e92b3c1394
commit
96deec596f
1 changed files with 5 additions and 1 deletions
|
|
@ -152,7 +152,11 @@ function buildTestRunnerConfig({
|
|||
resolve: {
|
||||
extensions: ['.ts', '.js'],
|
||||
aliasFields: [],
|
||||
fallback: { './binding/ort-wasm-threaded.js': false, './binding/ort-wasm.js': false }
|
||||
fallback: {
|
||||
'./binding/ort-wasm.js': false,
|
||||
'./binding/ort-wasm-threaded.js': false,
|
||||
'./binding/ort-wasm-threaded.worker.js': false
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new webpack.WatchIgnorePlugin({ paths: [/\.js$/, /\.d\.ts$/] }),
|
||||
|
|
|
|||
Loading…
Reference in a new issue