Skip to content

Commit

Permalink
fix(suite-desktop-core): webpack issue
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan committed Jan 8, 2025
1 parent e808d0d commit 0b7ff42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/suite-desktop-core/webpack/core.webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const config: webpack.Configuration = {
name(_: any, chunks: any) {
return chunks.length === 1
? chunks[0].name
: `shared/${chunks.map((item: any) => item.name.split('/').pop()).join('~')}`;
: `shared/${chunks.map((item: any) => item.name?.split('/').pop()).join('~')}`;
},
},
minimizer: [
Expand Down

0 comments on commit 0b7ff42

Please sign in to comment.