Skip to content

Commit

Permalink
must use eval to work around webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
fearthecowboy committed Jan 15, 2025
1 parent 9a22dc2 commit b147b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Extension/src/instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ if (!isInstrumentationEnabled()) {
// this loads the bootstrap module (global-instrumentation-support) which adds some global functions.
if (services.launchSettings?.bootstrapModule) {
// work around for webpack to load the bootstrap module.
/* eslint no-eval: "off" */
eval(`require`)(services.launchSettings.bootstrapModule);
}
}
Expand Down

0 comments on commit b147b2b

Please sign in to comment.