Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About wasm in dev mode #1

Open
shunia opened this issue Jun 21, 2024 · 2 comments
Open

About wasm in dev mode #1

shunia opened this issue Jun 21, 2024 · 2 comments

Comments

@shunia
Copy link

shunia commented Jun 21, 2024

It's so great to see the dicom loader is evolving, here I'm providing possible solutions to the problem about the wasm file in dev mode.

I just happen to have a workaround on this by accident when I was about to use the image loader with vtk.js without cornerstone:

import { wasm } from "@rollup/plugin-wasm";

return {
  worker: {
    plugins: () => [wasm({ sync: ["ICRPolySeg.wasm"] })],
  },
  plugins: [wasm({ sync: ["ICRPolySeg.wasm"] })]
};

I'm on weekend and do not have working pc with me so I can not go deeper with this but you could try and see if it's working.

I will be trying this project by Monday definitely, great to see the progress! Thank you for your work on this!

@xionghailong1205
Copy link

Did you solve the problem?

@xionghailong1205
Copy link

did this work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants