From 608d54a55669a9327bf33f9b38fb4157b5dc12fd Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:05:05 -0500 Subject: [PATCH] Fix #1668: Node does not use the 'development' condition with default require() --- packages/@glimmer/syntax/package.json | 6 ++---- packages/@glimmer/util/package.json | 6 ++---- packages/@glimmer/wire-format/package.json | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/packages/@glimmer/syntax/package.json b/packages/@glimmer/syntax/package.json index 8f6e1f7d0..9eb7d4df1 100644 --- a/packages/@glimmer/syntax/package.json +++ b/packages/@glimmer/syntax/package.json @@ -10,10 +10,8 @@ "exports": { ".": { "require": { - "development": { - "types": "./dist/dev/index.d.cts", - "default": "./dist/dev/index.cjs" - } + "types": "./dist/dev/index.d.cts", + "default": "./dist/dev/index.cjs" }, "default": { "development": { diff --git a/packages/@glimmer/util/package.json b/packages/@glimmer/util/package.json index a91e4cd73..0e91efad1 100644 --- a/packages/@glimmer/util/package.json +++ b/packages/@glimmer/util/package.json @@ -11,10 +11,8 @@ "exports": { ".": { "require": { - "development": { - "types": "./dist/dev/index.d.cts", - "default": "./dist/dev/index.cjs" - } + "types": "./dist/dev/index.d.cts", + "default": "./dist/dev/index.cjs" }, "default": { "development": { diff --git a/packages/@glimmer/wire-format/package.json b/packages/@glimmer/wire-format/package.json index 40933e3cb..016a94c63 100644 --- a/packages/@glimmer/wire-format/package.json +++ b/packages/@glimmer/wire-format/package.json @@ -11,10 +11,8 @@ "exports": { ".": { "require": { - "development": { - "types": "./dist/dev/index.d.cts", - "default": "./dist/dev/index.cjs" - } + "types": "./dist/dev/index.d.cts", + "default": "./dist/dev/index.cjs" }, "default": { "development": {