jscad / OpenJSCAD.org

JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
https://openjscad.xyz/
MIT License
2.58k stars 505 forks source link

Changes to package structures #1271

Open z3dev opened 11 months ago

z3dev commented 11 months ago

Expected Behavior

There seems to be some new features for 'exporting' different entry points for ES and CommonJS entry points. These should be considered for proper packaging. As well as, there seems to be an order now for the old style of exports.

https://www.typescriptlang.org/docs/handbook/esm-node.html

Actual Behavior

Current packaging follows somewhat of a standard for exports but this may not be correct.

Steps to Reproduce the Problem

1. 2. 3.

Specifications