From c60b0784708eb6830d6592be01735458f3a3776d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 2 Aug 2025 16:26:01 +0100 Subject: Revert change to explicitly use commonjs modules --- NEWS | 3 +++ package.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 49836e3..3025eea 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,9 @@ * Add notes on security. +* Revert the change to explicitly use commonjs modules. This appeared to cause + issues with some bundlers such as webpack when using mammoth.browser.js. + # 1.9.1 * Ignore AlternateContent elements when there is no Fallback element. diff --git a/package.json b/package.json index c54a7d0..3930be8 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "markdown", "md" ], - "type": "commonjs", "main": "./lib/index.js", "repository": { "type": "git", -- cgit v1.2.3