Freedom Tools CAD browser module — GPL-3.0-or-later
Source: app.js and worker.js. Dependencies pinned by package-lock.json.
Build: npm ci
npx esbuild app.js --bundle --format=esm --minify --outfile=cad.js
npx esbuild worker.js --bundle --format=esm --minify --external:module --outfile=worker.js
Copy node_modules/@mlightcad/libredwg-web/wasm/libredwg-web.wasm beside the bundles.
LibreDWG upstream source and its WASM build instructions are included in libredwg-web-master/.
jsPDF and dependencies retain their own licences (see node_modules and bundle notices).
