From 6720473d024a6fcc4f757a9746222575ab51d86c Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Thu, 7 Nov 2024 22:03:30 +0100 Subject: [PATCH] fix: add worker condition for shopify hydrogen --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4eb3f4b..1eeaa64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sanity/mutate", - "version": "0.11.0-canary.1", + "version": "0.11.0-canary.2", "description": "Experimental toolkit for working with Sanity mutations in JavaScript & TypeScript", "keywords": [ "sanity", @@ -45,6 +45,7 @@ "import": "./dist/_unstable_machine.browser.js", "require": "./dist/_unstable_machine.browser.cjs" }, + "worker": "./dist/_unstable_machine.browser.js", "import": "./dist/_unstable_machine.js", "require": "./dist/_unstable_machine.cjs", "default": "./dist/_unstable_machine.js"