Skip to content

Commit 5e7a065

Browse files
authored
fix(bundler): Avoid 'package source-map-loader not found' in PNPM (#737)
1 parent b8e2ccf commit 5e7a065

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
@@ -196,7 +196,7 @@ export class WorkflowCodeBundler {
196196
{
197197
test: /\.js$/,
198198
enforce: 'pre',
199-
use: ['source-map-loader'],
199+
use: [require.resolve('source-map-loader')],
200200
},
201201
{
202202
test: /\.ts$/,

0 commit comments

Comments
 (0)