[Solved] Vue 3 cannot import `@cornerstonejs/tools` , Error about `ICRPolySeg.wasm`

This is not solved at all.
In the link provided doesn’t provide the solution
Vite shows the same problem making the build

vite v5.3.2 building for production…
✓ 2179 modules transformed.
x Build failed in 5.21s
error during build:
[commonjs–resolver] Could not load D:/Desktop/VueClient/node_modules/@icr/polyseg-wasm/dist/ICRPolySeg.wasm (imported by node_modules/@icr/polyseg-wasm/dist/index.js): “ESM integration proposal for Wasm” is not supported currently. Use vite-plugin-wasm or other community plugins to handle this. Alternatively, you can use .wasm?init or .wasm?url. See Features | Vite for more details.
file: D:/Desktop/VueClient/node_modules/@cornerstonejs/tools/dist/esm/stateManagement/segmentation/polySeg/registerPolySegWorker.js
at Object.load (file:///D:/Desktop/VueClient/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:48099:13)
at file:///D:/Desktop/VueClient/node_modules/rollup/dist/es/shared/node-entry.js:19774:40
at async PluginDriver.hookFirstAndGetPlugin (file:///D:/Desktop/VueClient/node_modules/rollup/dist/es/shared/node-entry.js:19674:28)
at async file:///D:/Desktop/VueClient/node_modules/rollup/dist/es/shared/node-entry.js:18845:33
at async Queue.work (file:///D:/Desktop/VueClient/node_modules/rollup/dist/es/shared/node-entry.js:19884:32)