From 7f0704e3513db1067bd3747dbf171525e30b14c7 Mon Sep 17 00:00:00 2001 From: VdustR Date: Thu, 20 Mar 2025 17:00:07 +0800 Subject: [PATCH] fix: cjs using .js extension --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ea996aa3a..3457a1ee6 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,14 @@ "version": "15.5.0", "description": "Format whitespace in a SQL query to make it more readable", "license": "MIT", - "main": "dist/cjs/index.cjs", + "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "unpkg": "dist/sql-formatter.min.js", "exports": { "./package.json": "./package.json", ".": { "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.cjs" + "require": "./dist/cjs/index.js" } }, "bin": {