Hi, small suggestion for the Vite template:
Could it use Vite asset imports for the SciChart wasm files instead of vite-plugin-static-copy?
Example:
import { SciChartSurface } from "scichart";
import wasmUrl from "scichart/_wasm/scichart2d.wasm?url";
import wasmNoSimdUrl from "scichart/_wasm/scichart2d-nosimd.wasm?url";
SciChartSurface.configure({
wasmUrl,
wasmNoSimdUrl,
});
This feels a bit more Vite-native and avoids extra plugin/config setup.
I tested this locally in the react-vite template and npm run build completed successfully, with the SciChart wasm files emitted into dist/assets.
Thanks.
Hi, small suggestion for the Vite template:
Could it use Vite asset imports for the SciChart wasm files instead of
vite-plugin-static-copy?Example:
This feels a bit more Vite-native and avoids extra plugin/config setup.
I tested this locally in the
react-vitetemplate andnpm run buildcompleted successfully, with the SciChart wasm files emitted intodist/assets.Thanks.