Skip to content

Commit

Permalink
Fix webpack entry
Browse files Browse the repository at this point in the history
  • Loading branch information
UdaraJay committed Nov 11, 2023
1 parent 7eaa811 commit a4c5301
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .erb/configs/webpack.config.renderer.dev.dll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ const configuration: webpack.Configuration = {
module: require('./webpack.config.renderer.dev').default.module,

entry: {
renderer: Object.keys(dependencies || {}),
// webpack has some issue importing a path from @tiptap/pm
// so we're going to exclude it from the entry point bundle
// as we don't need it there anyways.
renderer: Object.keys(dependencies || {}).filter(
(it) => it !== '@tiptap/pm'
),
},

output: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,4 @@
],
"logLevel": "quiet"
}
}
}

0 comments on commit a4c5301

Please sign in to comment.