cylab-tw / bluelight

a browser-based DICOM viewer
MIT License
117 stars 45 forks source link

plugin support ESModule #22

Closed Chinlinlee closed 1 year ago

Chinlinlee commented 1 year ago

Describe what this pull request is trying to achieve

Support plugin that uses ESModule

Additional notes and description of your changes

Environment this was tested in

test detail

export { HelloWorld };

- `esm-hello-world/index.js`
```js
import { HelloWorld } from "./hello-world-model.js";

(() => {
    let helloWorld = new HelloWorld();
    helloWorld.print();
})();
cylien commented 1 year ago

70db479 this work has been merged to PR 24