From 06d8a5db092a547e3ae7736819887a0edca7d212 Mon Sep 17 00:00:00 2001 From: Sergei Dedkov Date: Thu, 18 May 2023 23:01:20 +0600 Subject: [PATCH] Fix "Failed to resolve entry for package "y-supabase" Update package.json "main" field in order to make this package work when it installed via npm --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e397d6d..59909ed 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.4-6-alpha", "description": "Sync Yjs over supabase", "sideEffects": false, - "main": "src/y-supabase.js", + "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*"