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 13, 2025
1 parent 84176e9 commit aa4e8cb
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 aa4e8cb

Please sign in to comment.