This sample uses <script type="module"></script>
to import from minimalModule.js
, which imports GoJS from go.mjs
In some browsers, you may need to serve this file from localhost to allow ES6 imports.
There are many more samples using go.mjs
in the ../extensionsJSM
directory.