Skip to content

Commit aa45d66

Browse files
committed
Remove mainFields fix for webpack helpers as it is no longer necessary
1 parent 5a95912 commit aa45d66

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
### Removed
11+
12+
- Remove mainFields fix for webpack helpers as it is no longer necessary
13+
1014
## [0.2.0-alpha.3] - 2023-06-14
1115

1216
### Changed

src/webpack-helpers/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ export function apply(webpackConfig: Configuration): Configuration {
3535
},
3636
resolve: {
3737
...(webpackConfig?.resolve ?? {}),
38-
// TEMPORARY:
39-
// Default is [ "browser", "module", "main" ], but we remove 'module'
40-
// because some opentelemetry libs don't ship with the
41-
// appropriate module entry points.
42-
// A fix for this will be coming in the next release (>=0.29) of the
43-
// opentelemetry packages.
44-
mainFields: [ 'browser', 'main' ],
4538
alias: {
4639
"document": path.resolve(__dirname, "./shims/document"),
4740
"process": path.resolve(__dirname, "./shims/process"),

0 commit comments

Comments
 (0)