From 4fdceb6080bc216d6160964b12fde8405596bcd2 Mon Sep 17 00:00:00 2001 From: kpdecker Date: Tue, 19 Apr 2022 19:20:21 -0500 Subject: [PATCH 1/2] Target tracing bundles for side effects The prepack script runs in bundles mode for this module, which puts the build targets in the root of the package rather than the npm folder. This reverts commit eb09c284180d5024158b569adb343468457a50ed. --- packages/tracing/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tracing/package.json b/packages/tracing/package.json index b79f4dc55268..33a6da66505d 100644 --- a/packages/tracing/package.json +++ b/packages/tracing/package.json @@ -80,8 +80,8 @@ } }, "sideEffects": [ - "./npm/dist/index.js", - "./npm/esm/index.js", + "./dist/index.js", + "./esm/index.js", "./src/index.ts" ] } From 016b90b07d25a5a153706c127716d3837cbf7704 Mon Sep 17 00:00:00 2001 From: Kevin Decker Date: Thu, 21 Apr 2022 15:06:21 -0500 Subject: [PATCH 2/2] Update packages/tracing/package.json Co-authored-by: Onur Temizkan --- packages/tracing/package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/tracing/package.json b/packages/tracing/package.json index 33a6da66505d..8911702f2233 100644 --- a/packages/tracing/package.json +++ b/packages/tracing/package.json @@ -82,6 +82,8 @@ "sideEffects": [ "./dist/index.js", "./esm/index.js", + "./npm/dist/index.js", + "./npm/esm/index.js", "./src/index.ts" ] }