From 7d003c8de6a3b9885fb5af2ac5fe862078495526 Mon Sep 17 00:00:00 2001 From: Tim Scanlin Date: Thu, 25 Apr 2024 12:08:45 -0700 Subject: [PATCH] update exports for tocbot in pkg.json --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 91040ad..3f63700 100644 --- a/package.json +++ b/package.json @@ -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"