From c9f7f1c359058e4f9be9dad6df83a070bbbde365 Mon Sep 17 00:00:00 2001 From: imaman Date: Tue, 3 Jan 2023 10:35:42 -0500 Subject: [PATCH 1/2] Fix package.json --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index eafc2965..75e9b26e 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ } ], "types": "dist/react-tooltip.d.ts", - "type": "module", "license": "MIT", "private": false, "author": "ReactTooltip", From f3b0f160c61a07331b1e39dd64a55b16beb330f7 Mon Sep 17 00:00:00 2001 From: imaman Date: Tue, 3 Jan 2023 13:25:33 -0500 Subject: [PATCH 2/2] Fix the build --- cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.js b/cli.js index e6c5e1c8..98173002 100755 --- a/cli.js +++ b/cli.js @@ -1,5 +1,5 @@ -import fs from 'fs' -import rimraf from 'rimraf' +const fs = require('fs') // eslint-disable-line @typescript-eslint/no-var-requires +const rimraf = require('rimraf') // eslint-disable-line @typescript-eslint/no-var-requires const args = process.argv.slice(2) const parameters = args.reduce((acc, arg) => {