tscanlin / tocbot

Build a table of contents from headings in an HTML document.
MIT License
1.37k stars 114 forks source link

fix for esm export #343

Closed tscanlin closed 2 months ago

tscanlin commented 2 months ago

Fix for ESM export by including type: 'module' in package.json. But this change prevented the build from working until a require in index-dist was switched to an import.