Skip to content

Commit 40b5f2d

Browse files
committed
chore: fix replace plugin usage
1 parent 1d8718f commit 40b5f2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/node-core/rollup.npm.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export default [
2828
plugins: [
2929
replacePlugin(
3030
{
31-
AnrWorkerScript: () => getAnrBase64Code(),
32-
LocalVariablesWorkerScript: () => getLocalVariablesBase64Code(),
31+
AnrWorkerScript: JSON.stringify(getAnrBase64Code()),
32+
LocalVariablesWorkerScript: JSON.stringify(getLocalVariablesBase64Code()),
3333
},
3434
{
3535
delimiters: ['###', '###'],

0 commit comments

Comments
 (0)