Skip to content

Commit 0957989

Browse files
authored
ref(tracing): Revert conditional exports usage (#7372)
1 parent e8fe668 commit 0957989

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

packages/tracing/package.json

-30
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,6 @@
1212
"main": "build/npm/cjs/index.js",
1313
"module": "build/npm/esm/index.js",
1414
"types": "build/npm/types/index.d.ts",
15-
"exports": {
16-
".": {
17-
"import": "./build/npm/esm/index.js",
18-
"require": "./build/npm/cjs/index.js",
19-
"types": "./build/npm/types/index.d.ts"
20-
},
21-
"./node": {
22-
"import": "./build/npm/esm/node/index.js",
23-
"require": "./build/npm/cjs/node/index.js",
24-
"types": "./build/npm/types/node/index.d.ts"
25-
},
26-
"./browser": {
27-
"import": "./build/npm/esm/browser/index.js",
28-
"require": "./build/npm/cjs/browser/index.js",
29-
"types": "./build/npm/types/browser/index.d.ts"
30-
}
31-
},
32-
"typesVersions": {
33-
"*": {
34-
"*": [
35-
"./build/npm/types/index.d.ts"
36-
],
37-
"node": [
38-
"./build/npm/types/node/index.d.ts"
39-
],
40-
"browser": [
41-
"./build/npm/types/browser/index.d.ts"
42-
]
43-
}
44-
},
4515
"publishConfig": {
4616
"access": "public"
4717
},

packages/tracing/rollup.npm.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { makeBaseNPMConfig, makeNPMConfigVariants } from '../../rollup/index.js'
22

33
export default makeNPMConfigVariants(
44
makeBaseNPMConfig({
5-
entrypoints: ['src/browser/index.ts', 'src/node/index.ts', 'src/index.ts'],
65
// packages with bundles have a different build directory structure
76
hasBundles: true,
87
}),

0 commit comments

Comments
 (0)