Added table feature
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user