Skip to content

Commit

Permalink
fix entries flattening
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Mulder committed Apr 26, 2024
1 parent d432bd3 commit 7d770e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ if (fs.existsSync('./project/webpack-project.config.js')) {
// Transform the mapping of LORIS modules to a mapping of webpack entry points.
const entries = Object.fromEntries(
Object.entries(lorisModules)
.map(([name, files]) => makeModuleEntries(name, files).flat())
.map(([name, files]) => makeModuleEntries(name, files))
.flat()
);

const config: webpack.Configuration = {
Expand Down

0 comments on commit 7d770e9

Please sign in to comment.