OpenJSCAD.org
OpenJSCAD.org copied to clipboard
ES6 module support
Expected Behavior
Currently, there is no way to use the various packages as standard JavaScript modules. For example, in browsers...
<script type="module">import {primitives} from "https://unpkg.com/@jscad/modeling";</script>
Actual Behavior
I believe that this can be accomplished without any code changes by using WebPack, creating both UMD and ES6 modules.
Steps to Reproduce the Problem
- Not possible.
Specifications
- Version: V2
- Platform: All
- Environment: all