As of right now, this implementation feels a little too oriented around building and showing the demo. I am not sure how many people use System.js, but I do think some better defaults around the module would help a lot of people. Just so one could do a typical import ImGui from "imgui-js", even import {ImGui, ImGui_Impl} from "imgui-js" out of the box.
I can certainly take this on and do a PR, (I already have a fork with the minimal changes needed to do a regular import) but just wanted to see if the library maintainers have any interest in it, because it would be some substantial, breaking changes depending on how people are using the library.
As of right now, this implementation feels a little too oriented around building and showing the demo. I am not sure how many people use System.js, but I do think some better defaults around the module would help a lot of people. Just so one could do a typical
import ImGui from "imgui-js", evenimport {ImGui, ImGui_Impl} from "imgui-js"out of the box.I can certainly take this on and do a PR, (I already have a fork with the minimal changes needed to do a regular import) but just wanted to see if the library maintainers have any interest in it, because it would be some substantial, breaking changes depending on how people are using the library.