diff --git a/bun.lockb b/bun.lockb index aeb2229..d61a708 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/esbuild.config.js b/esbuild.config.js index 7b6133f..c7dc38e 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -14,5 +14,6 @@ build({ keepNames: true, loader: { ".png": "file" - } + }, + external: ["react", "react-dom"] }); diff --git a/package.json b/package.json index 169de9e..c38c27d 100644 --- a/package.json +++ b/package.json @@ -61,14 +61,16 @@ "interactjs": "1.10.26", "lodash": "4.17.21", "lucide-react": "0.316.0", - "react": "18.0.0", - "react-dom": "18.0.0", "react-gridlines": "1.1.7", "react-loader-spinner": "5.3.4", "react-redux": "9.1.0", "tailwind-merge": "1.13.2", "uuid": "9.0.0" }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, "devDependencies": { "@commitlint/cli": "17.4.2", "@commitlint/config-conventional": "17.4.2",