fix: making onnxruntime work with rsbuild (#4957)

This commit is contained in:
Alireza 2025-04-14 09:59:39 -04:00 committed by GitHub
parent 5dae147155
commit 4a87302f06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,7 +104,7 @@ export default defineConfig({
// Copy public directory except config and html-templates
{
from: path.resolve(__dirname, 'node_modules/onnxruntime-web/dist'),
to: DIST_DIR,
to: `${DIST_DIR}/ort`,
force: true,
},
{