From 4b6fabed35501afa869ae111ff52eb124f733ee9 Mon Sep 17 00:00:00 2001 From: Milan Kovacic Date: Thu, 4 Jan 2024 09:41:52 +0100 Subject: [PATCH] fix: revert "main" fields to point to UMD bundle, instead of CJS --- package.json | 2 +- parcel/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 02b3ce6..fc0690f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "single-spa-react", "version": "5.1.4", "description": "Single-spa lifecycles helper for React apps", - "main": "lib/cjs/single-spa-react.cjs", + "main": "lib/umd/single-spa-react.js", "module": "lib/esm/single-spa-react.js", "type": "module", "exports": { diff --git a/parcel/package.json b/parcel/package.json index 9e694cb..d5b43cb 100644 --- a/parcel/package.json +++ b/parcel/package.json @@ -1,4 +1,4 @@ { - "main": "../lib/cjs/parcel.cjs", + "main": "../lib/umd/parcel.js", "types": "../types/parcel/index.d.cts" } \ No newline at end of file