Skip to content

Commit db81278

Browse files
authored
[build-sourcemaps] Remove unused static workers (#79107)
These workers are spawned without actually doing something. Should be safe to remove. Or have a comment why they're needed still. Became unused in #68546
1 parent c1262aa commit db81278

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/next/src/build/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,6 @@ async function writeFullyStaticExport(
783783
const exportApp = require('../export')
784784
.default as typeof import('../export').default
785785

786-
const pagesWorker = createStaticWorker(config)
787-
const appWorker = createStaticWorker(config)
788-
789786
await exportApp(
790787
dir,
791788
{
@@ -798,9 +795,6 @@ async function writeFullyStaticExport(
798795
},
799796
nextBuildSpan
800797
)
801-
802-
pagesWorker.end()
803-
appWorker.end()
804798
}
805799

806800
async function getBuildId(

0 commit comments

Comments
 (0)