Skip to content

Commit 037eb51

Browse files
committed
log cwd and buildContext.dir
1 parent 0ebd103 commit 037eb51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/nextjs/src/config/webpack.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ async function addSentryToEntryProperty(
154154
fs.mkdtempSync(path.resolve(os.tmpdir(), 'sentry-')),
155155
'rewriteFramesHelper.js',
156156
);
157+
console.log('cwd', process.cwd());
158+
console.log('buildContext.dir', buildContext.dir);
157159
const buildDirAbsPath = path.resolve(buildContext.dir, buildContext.config.distDir);
158160
fs.writeFileSync(rewriteFramesHelper, `global.__rewriteFramesDistDir__ = '${buildDirAbsPath}';\n`);
159161
filesToInject.unshift(rewriteFramesHelper);

0 commit comments

Comments
 (0)