Skip to content

Commit d7126fe

Browse files
committed
Fix source map loading error for ReactRefreshWebpackPlugin.js.map
1 parent b284727 commit d7126fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/taskfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ export async function ncc_react_refresh_utils(task, opts) {
584584
await rmrf(destDir)
585585
await fs.mkdir(destDir, { recursive: true })
586586

587-
const files = glob.sync('**/*.{js,json}', { cwd: srcDir })
587+
const files = glob.sync('**/*.{js,json,map}', { cwd: srcDir })
588588

589589
for (const file of files) {
590590
if (file === 'tsconfig.json') continue

0 commit comments

Comments
 (0)