From d52264ce90518a8ed677c0c149d45c30bd14ca2d Mon Sep 17 00:00:00 2001 From: Lance Gliser Date: Wed, 18 Sep 2024 15:59:02 -0500 Subject: [PATCH] Removed the .js ending from the .cjs lib output --- package.json | 2 +- rollup.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3cd84a8..9559d84 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "Provides display components for React Tailwind Flowbite applications", "type": "module", - "main": "lib/index.cjs.js", + "main": "lib/index.cjs", "module": "lib/index.esm.js", "types": "lib/index.d.ts", "scripts": { diff --git a/rollup.config.js b/rollup.config.js index f025320..496bf62 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -36,7 +36,7 @@ export default { ], output: [ { - file: "lib/index.cjs.js", + file: "lib/index.cjs", format: "cjs", }, {