Skip to content

Commit

Permalink
update exports for tocbot in pkg.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tscanlin committed Apr 25, 2024
1 parent 950d33d commit 7d003c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -2,10 +2,11 @@
"name": "tocbot",
"version": "4.27.6",
"description": "Generate a table of contents based on the heading structure of a html document.",
"main": "src/js/index-dist.js",
"browser": "index.js",
"main": "./dist/tocbot.js",
"module": "./index.js",
"exports": {
".": {
"require": "./dist/tocbot.js",
"import": "./index.js",
"types": "./index.d.ts",
"default": "./index.js"
Expand Down

0 comments on commit 7d003c8

Please sign in to comment.