Skip to content

Commit b147b2b

Browse files
committed
must use eval to work around webpack
1 parent 9a22dc2 commit b147b2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Extension/src/instrumentation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ if (!isInstrumentationEnabled()) {
5555
// this loads the bootstrap module (global-instrumentation-support) which adds some global functions.
5656
if (services.launchSettings?.bootstrapModule) {
5757
// work around for webpack to load the bootstrap module.
58+
/* eslint no-eval: "off" */
5859
eval(`require`)(services.launchSettings.bootstrapModule);
5960
}
6061
}

0 commit comments

Comments
 (0)