From ecbbe7bb1698598d9d9c2fc312b124bc41dc6d34 Mon Sep 17 00:00:00 2001 From: Daniel Silhavy Date: Thu, 16 Jan 2025 16:41:19 +0100 Subject: [PATCH] Add an export for CommonJS using the "require" field --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c49cb0b2e6..0d52f44905 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "import": "./dist/modern/esm/dash.all.min.js", "default": "./dist/modern/esm/dash.all.min.js", "browser": "./dist/modern/umd/dash.all.min.js", - "script": "./dist/modern/umd/dash.all.min.js" + "script": "./dist/modern/umd/dash.all.min.js", + "require": "./dist/modern/umd/dash.all.min.js" } }, "type": "module",