Added table feature

This commit is contained in:
2026-05-04 21:39:59 +02:00
parent 7e0d220a81
commit eef2630af7
10 changed files with 342 additions and 0 deletions

View File

@@ -88,6 +88,9 @@ for (const [package_name, package_data] of Object.entries(manifest.packages)) {
const linked_docs = pkg.documentation ? link_tree(pkg.documentation, pkg_dir).map(p => path.relative(pkg_dir, p)) : [];
//console.log('DOCS', { linked_docs });
// A file named after its package (e.g. table.mjs in the table package) becomes the root export '.'
// All other files become named subpath exports e.g. './raster-table'
const exports_map = {};
for (const file of linked_sources) {
const name = path.basename(file, '.mjs');