Skip to content

About wasm in dev mode #1

Open
Open
@shunia

Description

@shunia

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions