fix: making onnxruntime work with rsbuild (#4957)
This commit is contained in:
parent
5dae147155
commit
4a87302f06
@ -104,7 +104,7 @@ export default defineConfig({
|
|||||||
// Copy public directory except config and html-templates
|
// Copy public directory except config and html-templates
|
||||||
{
|
{
|
||||||
from: path.resolve(__dirname, 'node_modules/onnxruntime-web/dist'),
|
from: path.resolve(__dirname, 'node_modules/onnxruntime-web/dist'),
|
||||||
to: DIST_DIR,
|
to: `${DIST_DIR}/ort`,
|
||||||
force: true,
|
force: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user