Skip to content

Commit 170899c

Browse files
tighten up bundler regex
1 parent 99fd41f commit 170899c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/worker/src/workflow/bundler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ exports.importInterceptors = function importInterceptors() {
219219
plugins: [
220220
// Replace the workflow-imports stub with the real implementation
221221
new NormalModuleReplacementPlugin(
222-
/[\\/]interceptors-opentelemetry[\\/](?:src|lib)[\\/]workflow[\\/]workflow-imports\.[jt]s$/,
222+
/[\\/](?:@temporalio|packages)[\\/]interceptors-opentelemetry[\\/](?:src|lib)[\\/]workflow[\\/]workflow-imports\.[jt]s$/,
223223
path.resolve(__dirname, 'otel-workflow-imports.js')
224224
),
225225
],

0 commit comments

Comments
 (0)