Skip to content

Commit ced8861

Browse files
committed
fix: improve the file scope of nextjs
1 parent 1a9f39d commit ced8861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/turbopack/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ export function TurbopackCodeInspectorPlugin(
5757
'default.ts',
5858
];
5959

60-
const expression = `**/{${validFiles.join(',')}}`;
60+
const matchFiles = `**/{${validFiles.join(',')}}`;
6161

6262
return {
63-
[expression]: {
63+
[matchFiles]: {
6464
loaders: [
6565
{
6666
loader: `${WebpackDistDir}/loader.js`,

0 commit comments

Comments
 (0)