You can see this here: https://github.com/getsentry/sentry-javascript/actions/runs/29421967405/job/87375946493?pr=22141
If you use the new filepath regex option introduced here: #73 in a turbopack loader, this fails at build time with:
Error: loader ~/node_modules/.pnpm/@apm-js-collab+code-transformer-bundler-plugins@0.6.1/node_modules/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.cjs for match "*.{js,mjs,cjs}" does not have serializable options. Ensure that options passed are plain JavaScript objects and values.
We'll probably need to find a way to pass this around as a POJO with primitives only, I suppose...?"
You can see this here: https://github.com/getsentry/sentry-javascript/actions/runs/29421967405/job/87375946493?pr=22141
If you use the new filepath regex option introduced here: #73 in a turbopack loader, this fails at build time with:
We'll probably need to find a way to pass this around as a POJO with primitives only, I suppose...?"