8000 :bug: (interpolater): Chunk name default to an empty string · momocow/webpack-userscript@0a84574 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 0a84574

Browse files
committed
🐛 (interpolater): Chunk name default to an empty string
1 parent 082d5d0 commit 0a84574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/features/interpolater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class Interpolater extends Feature {
3737
buildTime,
3838
}: WaterfallContext): Record<string, string> {
3939
return {
40-
name: chunk.name,
40+
name: chunk.name ?? '',
4141
file: originalFile,
4242
filename,
4343
basename,

0 commit comments

Comments
 (0)
0