diff --git a/sdk/core/core-http/rollup.config.ts b/sdk/core/core-http/rollup.config.ts index 9bd1815cd274..be52b55d5866 100644 --- a/sdk/core/core-http/rollup.config.ts +++ b/sdk/core/core-http/rollup.config.ts @@ -68,7 +68,7 @@ const browserConfig = { }, plugins: [ nodeResolve({ - mainFields: ["module", "main", "browser"] + mainFields: ["module", "browser"] }), commonjs(), sourcemaps(), diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index be37a0794f7a..924653301242 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -6,7 +6,7 @@ "main": "dist/index.js", "module": "dist-esm/lib/index.js", "browser": { - "./dist/index.js": "./browser/index.js" + "./dist/index.js": "./browser/core-tracing.js" }, "types": "types/core-tracing.d.ts", "scripts": {